|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omg.CORBA.LocalObject org.objectweb.jonas.security.interceptors.iiop.SecurityInterceptor
public abstract class SecurityInterceptor
Marshall/Unmarshall security context
Field Summary | |
---|---|
static int |
SEC_CTX_ID
security context id |
Constructor Summary | |
---|---|
SecurityInterceptor()
|
Method Summary | |
---|---|
java.lang.String |
contextString(SecurityContext scx)
Return string representation of a security context |
byte[] |
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, .... |
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 |
---|
public static final int SEC_CTX_ID
Constructor Detail |
---|
public SecurityInterceptor()
Method Detail |
---|
public byte[] marshallSecurityContext(SecurityContext ctx)
ctx
- SecurityContext
public SecurityContext unmarshallSecurityContext(byte[] byteCtx)
byteCtx
- the marshalled context
public java.lang.String contextString(SecurityContext scx)
scx
- given security context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |