org.objectweb.easybeans.security.propagation.rmi.jrmp.interceptors
Class ServerSecurityInterceptor

java.lang.Object
  extended by org.objectweb.easybeans.security.propagation.rmi.jrmp.interceptors.ServerSecurityInterceptor
All Implemented Interfaces:
org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInterceptor

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

Author:
Florent Benoit

Field Summary
private static java.lang.String NAME
          Name of the interceptor.
 
Constructor Summary
ServerSecurityInterceptor()
           
 
Method Summary
 java.lang.String name()
          Gets the name of this interceptor.
 void receive_request(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Receive request from client.
 void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Send exception with context.
 void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Not used by this interceptor.
 void send_reply(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
          Send reply with context to the client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final java.lang.String NAME
Name of the interceptor.

See Also:
Constant Field Values
Constructor Detail

ServerSecurityInterceptor

public ServerSecurityInterceptor()
Method Detail

receive_request

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

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 jServerRequestInfo)
                throws java.io.IOException
Send reply with context to the client.

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()
Gets the name of this interceptor.

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

send_exception

public void send_exception(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                    throws java.io.IOException
Send exception with context. Not used.

Specified by:
send_exception 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

send_other

public void send_other(org.objectweb.carol.rmi.jrmp.interceptor.JServerRequestInfo jServerRequestInfo)
                throws java.io.IOException
Not used by this interceptor.

Specified by:
send_other 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