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

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

public class SecurityServiceContext
extends java.lang.Object
implements org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext

Context exchanged between client/server.

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
static int SEC_CTX_ID
          Security context id.
private  EZBSecurityContext securityContext
          Security context.
private static long serialVersionUID
          UID for serialization.
 
Constructor Summary
SecurityServiceContext(EZBSecurityContext securityContext)
          Constructor.
 
Method Summary
 int getContextId()
           
 EZBSecurityContext getSecurityContext()
          Gets the security context.
 
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
UID for serialization.

See Also:
Constant Field Values

SEC_CTX_ID

public static final int SEC_CTX_ID
Security context id.

See Also:
Constant Field Values

securityContext

private EZBSecurityContext securityContext
Security context.

Constructor Detail

SecurityServiceContext

public SecurityServiceContext(EZBSecurityContext securityContext)
Constructor.

Parameters:
securityContext - the RMI (Serializable) Security Context
Method Detail

getSecurityContext

public EZBSecurityContext getSecurityContext()
Gets the security context.

Returns:
the Security context

getContextId

public int getContextId()
Specified by:
getContextId in interface org.objectweb.carol.rmi.jrmp.interceptor.JServiceContext
Returns:
the Context id.