org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor Class Reference

Inherited by org.objectweb.jonas.security.interceptors.iiop.CorbaClientSecurityInterceptor, and org.objectweb.jonas.security.interceptors.iiop.CorbaServerSecurityInterceptor.

Inheritance diagram for org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor:

Inheritance graph
[legend]
List of all members.

Public Member Functions

byte[] marshallSecurityContext (SecurityContext ctx)
SecurityContext unmarshallSecurityContext (byte[] byteCtx)
String contextString (SecurityContext scx)

Static Public Attributes

final int SEC_CTX_ID = 101

Detailed Description

Marshall/Unmarshall security context
Author:
Guillaume Riviere (initial developer)

Florent Benoit

Definition at line 34 of file SecurityInterceptor.java.


Member Function Documentation

String org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor.contextString SecurityContext  scx  ) 
 

Return string representation of a security context

Parameters:
scx given security context
Returns:
string representation of a security context

Definition at line 66 of file SecurityInterceptor.java.

References org.objectweb.security.context.SecurityContext.toString().

Here is the call graph for this function:

byte [] org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor.marshallSecurityContext SecurityContext  ctx  ) 
 

Custom UTF8 marshalling SecurityContext The resulting bute array is composed of the following elements: principal-name, roles-number, role1, ...., runas-number, runas1, ....

Returns:
byte [] the marshalled context
Parameters:
ctx SecurityContext

Definition at line 48 of file SecurityInterceptor.java.

Referenced by org.objectweb.jonas.security.interceptors.iiop.CorbaClientSecurityInterceptor.send_request().

SecurityContext org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor.unmarshallSecurityContext byte[]  byteCtx  ) 
 

Custom UTF8 marshalling SecurityContext

Parameters:
byteCtx the marshalled context
Returns:
SecurityContext

Definition at line 57 of file SecurityInterceptor.java.

Referenced by org.objectweb.jonas.security.interceptors.iiop.CorbaServerSecurityInterceptor.receive_request_service_contexts().


Member Data Documentation

final int org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor.SEC_CTX_ID = 101 [static]
 

security context id

Definition at line 39 of file SecurityInterceptor.java.


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