|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.security.context.Marshalling
public class Marshalling
Class allowing to marshall/unmarshall Security Context class
| Field Summary | |
|---|---|
static int |
SEC_CTX_ID
security context id |
| Method Summary | |
|---|---|
static 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, .... |
static SecurityContext |
unmarshallSecurityContext(byte[] byteCtx)
Custom UTF8 marshalling SecurityContext |
| 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
| Method Detail |
|---|
public static byte[] marshallSecurityContext(SecurityContext ctx)
ctx - SecurityContext
public static SecurityContext unmarshallSecurityContext(byte[] byteCtx)
byteCtx - the marshalled context
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||