org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor Class Reference

List of all members.

Public Member Functions

 ClientSecurityInterceptor ()
void send_request (JClientRequestInfo jri) throws IOException
void receive_reply (JClientRequestInfo jri) throws IOException
String name ()

Static Public Attributes

int SEC_CTX_ID = 1

Detailed Description

Class ClientSecurityInterceptor is a JRMP Security client interceptor for Security Context propagation
Author:
Jeff Mesnil

Guillaume Riviere

Version:
1.0, 10/03/2003

Definition at line 43 of file ClientSecurityInterceptor.java.


Constructor & Destructor Documentation

org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.ClientSecurityInterceptor  ) 
 

constructor

Definition at line 58 of file ClientSecurityInterceptor.java.


Member Function Documentation

String org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.name  ) 
 

get the name of this interceptor

Returns:
name

Definition at line 93 of file ClientSecurityInterceptor.java.

void org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.receive_reply JClientRequestInfo  jri  )  throws IOException
 

we do not use the received security context to set it (EJB, v1.1, chapter 15.5) Receive reply interception

Parameters:
JClientRequestInfo jri the jrmp client info
Exceptions:
IOException if an exception occur with the ObjectOutput

Definition at line 86 of file ClientSecurityInterceptor.java.

void org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.send_request JClientRequestInfo  jri  )  throws IOException
 

send client context with the request. The sendingRequest method of the JPortableInterceptors is called prior to marshalling arguments and contexts

Parameters:
JClientRequestInfo jri the jrmp client info
Exceptions:
IOException if an exception occur with the ObjectOutput

Definition at line 68 of file ClientSecurityInterceptor.java.

References org.objectweb.security.context.SecurityCurrent.getSecurityContext(), and org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.SEC_CTX_ID.

Here is the call graph for this function:


Member Data Documentation

int org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.SEC_CTX_ID = 1 [static]
 

security context id

Definition at line 48 of file ClientSecurityInterceptor.java.

Referenced by org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.send_request().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:07:43 2005 for JOnAS by  doxygen 1.3.9.1