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

java.lang.Object
  extended by org.objectweb.easybeans.security.propagation.rmi.jrmp.interceptors.ClientSecurityInterceptor
All Implemented Interfaces:
java.io.Serializable, org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor

public class ClientSecurityInterceptor
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor

Manages security propagation on the client's side. (only send request)

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
private static java.lang.String NAME
          Interceptor name.
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
ClientSecurityInterceptor()
          Default Constructor.
 
Method Summary
 java.lang.String name()
          Gets the name of this interceptor.
 void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Receive exception interception.
 void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Receive other interception.
 void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          No receive.
 void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
          Send client context in pool.
 void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jClientRequestInfo)
          Send client context with the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

NAME

private static final java.lang.String NAME
Interceptor name.

See Also:
Constant Field Values
Constructor Detail

ClientSecurityInterceptor

public ClientSecurityInterceptor()
Default Constructor.

Method Detail

send_request

public void send_request(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jClientRequestInfo)
                  throws java.io.IOException
Send client context with the request.

Specified by:
send_request in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jClientRequestInfo - jri the jrmp client info
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.JClientRequestInterceptor
Returns:
name of the interceptor

receive_reply

public void receive_reply(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws java.io.IOException
No receive.

Specified by:
receive_reply in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

send_poll

public void send_poll(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
               throws java.io.IOException
Send client context in pool.

Specified by:
send_poll in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_exception

public void receive_exception(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                       throws java.io.IOException
Receive exception interception.

Specified by:
receive_exception in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput

receive_other

public void receive_other(org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInfo jri)
                   throws java.io.IOException
Receive other interception.

Specified by:
receive_other in interface org.objectweb.carol.rmi.jrmp.interceptor.JClientRequestInterceptor
Parameters:
jri - the jrmp client info
Throws:
java.io.IOException - if an exception occur with the ObjectOutput