|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.sandbox.security.conversation.ConversationUtil
Constructor Summary | |
ConversationUtil()
|
Method Summary | |
static java.lang.String |
generateIdentifier(java.lang.String uuid,
java.lang.String derivedKeyTokenId)
This generates the identifier string using the uuig and the nonce |
static java.lang.String |
generateNonce(int length)
Genearets the nonce for a given bit length. |
static java.lang.String |
generateUuid()
|
static java.lang.String |
genericID()
Method genericID |
static java.lang.String |
getDerivedKeyTokenId(java.lang.String identifier)
|
static SecurityContextToken |
getSCT(DerivedKeyToken dkToken)
The method takes in a DerivedKetToken and returns the uuid of the corresponding SCT. |
static java.lang.String |
getUuid(java.lang.String identifier)
|
static java.lang.String[] |
getUuidAndDerivedKeyTokenId(java.lang.String identifier)
This extracts the Uuid and the DerivedKeyTokenId from the identifier sent in |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConversationUtil()
Method Detail |
public static java.lang.String generateNonce(int length)
public static java.lang.String getDerivedKeyTokenId(java.lang.String identifier)
identifier
-
getUuidAndDerivedKeyTokenId()
public static java.lang.String getUuid(java.lang.String identifier)
identifier
-
getUuidAndDerivedKeyTokenId()
public static java.lang.String[] getUuidAndDerivedKeyTokenId(java.lang.String identifier)
identifier
- The identifier in uuid[ConvUtil.ID_SEPARATOR]nonce format
public static java.lang.String generateIdentifier(java.lang.String uuid, java.lang.String derivedKeyTokenId)
uuid
- The uuid
public static java.lang.String generateUuid()
public static java.lang.String genericID()
public static SecurityContextToken getSCT(DerivedKeyToken dkToken) throws ConversationException
dkToken
-
ConversationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |