org.ow2.jonas.security.interceptors.jrmp
Class SecurityServiceContext

java.lang.Object
  extended by org.ow2.jonas.security.interceptors.jrmp.SecurityServiceContext
All Implemented Interfaces:
Serializable, org.ow2.carol.rmi.interceptor.spi.JServiceContext

public class SecurityServiceContext
extends Object
implements org.ow2.carol.rmi.interceptor.spi.JServiceContext

Class SecurityServiceContext is a JRMP Class for Security Context Propagation

Version:
1.0, 10/03/2003
Author:
Guillaume Riviere
See Also:
Serialized Form

Constructor Summary
SecurityServiceContext()
          Empty constructor for Externalizable
SecurityServiceContext(int context_id, SecurityContext sctx)
          constructor
 
Method Summary
 int getContextId()
          the JServiceContext id
 SecurityContext getSecurityContext()
          get the security context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityServiceContext

public SecurityServiceContext()
Empty constructor for Externalizable


SecurityServiceContext

public SecurityServiceContext(int context_id,
                              SecurityContext sctx)
constructor

Parameters:
int - the context_id
SecurityContext - the RMI (Serializable) Security Context
Method Detail

getContextId

public int getContextId()
the JServiceContext id

Specified by:
getContextId in interface org.ow2.carol.rmi.interceptor.spi.JServiceContext

getSecurityContext

public SecurityContext getSecurityContext()
get the security context

Returns:
SecurityContext the Security context


Copyright © 2010 OW2 Consortium. All Rights Reserved.