|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.rsm.domain.security.service.UserSignatureUtil
Method Summary | |
static com.retek.platform.util.type.security.UserSignature |
getUserSignature(java.lang.String plainText)
Creates a user signature based on the given plaintext and encodes it in base64. |
static boolean |
isSignatureValid(java.lang.String plainText,
com.retek.platform.util.type.security.UserSignature userSignature)
Verifies that the given signature credential is valid for the given plaintext. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static com.retek.platform.util.type.security.UserSignature getUserSignature(java.lang.String plainText)
plainText
- The plaintext to generate a signature for. (i.e. userName)
public static boolean isSignatureValid(java.lang.String plainText, com.retek.platform.util.type.security.UserSignature userSignature)
plainText
- The plaintext associated with the signature. (i.e. userName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |