org.objectweb.jonas.security.interceptors.jrmp.ctxcheck
Class ServerInterceptor

java.lang.Object
  extended by org.objectweb.jonas.security.interceptors.jrmp.ctxcheck.ServerInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

public class ServerInterceptor
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

Checks that the security context that has been unserialized on the server side has a valid signature (Nobody has changed its value).

Author:
Florent Benoit

Constructor Summary
ServerInterceptor()
          Default constructor.
 
Method Summary
 java.lang.String name()
          get the name of this interceptor
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          Receive request
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
           
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
          send reply with context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerInterceptor

public ServerInterceptor()
Default constructor.

Method Detail

receive_request

public void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                     throws java.io.IOException
Receive request

Specified by:
receive_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occurs with the ObjectOutput

send_reply

public void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
send reply with context

Specified by:
send_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Parameters:
JServerRequestInfo - the jrmp server request information
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

name

public java.lang.String name()
get the name of this interceptor

Specified by:
name in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Returns:
name

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                    throws java.io.IOException
Specified by:
send_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jri)
                throws java.io.IOException
Specified by:
send_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor
Throws:
java.io.IOException