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

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor
All Implemented Interfaces:
org.omg.CORBA.Object
Direct Known Subclasses:
CorbaClientSecurityInterceptor, CorbaServerSecurityInterceptor

public abstract class SecurityInterceptor
extends org.omg.CORBA.LocalObject


Field Summary
static int SEC_CTX_ID
          security context id
 
Constructor Summary
SecurityInterceptor()
           
 
Method Summary
 java.lang.String contextString(org.objectweb.security.context.SecurityContext scx)
           
 byte[] marshallSecurityContext(org.objectweb.security.context.SecurityContext ctx)
          Custom UTF8 marshalling SecurityContext
 org.objectweb.security.context.SecurityContext unmarshallSecurityContext(byte[] byteCtx)
          Custom UTF8 marshalling SecurityContext
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEC_CTX_ID

public static int SEC_CTX_ID
security context id

Constructor Detail

SecurityInterceptor

public SecurityInterceptor()
Method Detail

marshallSecurityContext

public byte[] marshallSecurityContext(org.objectweb.security.context.SecurityContext ctx)
Custom UTF8 marshalling SecurityContext

Returns:
byte [] the marshalled context

unmarshallSecurityContext

public org.objectweb.security.context.SecurityContext unmarshallSecurityContext(byte[] byteCtx)
Custom UTF8 marshalling SecurityContext

Returns:
SecurityContext

contextString

public java.lang.String contextString(org.objectweb.security.context.SecurityContext scx)