|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenFactory
This interface is implemented by a provider to create LTPA tokens. The class is loaded via the security property "com.ibm.wsspi.security.ltpa.tokenFactory". One can put multiple token factories in this property using the | delimiter. The order determines which token will be used for a specific purpose, to be defined.
Method Summary | |
---|---|
Token |
createToken(java.util.Map tokenData)
Returns a Token based on the type of configured token |
void |
initialize(java.util.Map tokenFactoryMap)
Initializes the token factories with a Map of configuration info. |
Token |
validateTokenBytes(byte[] encryptedData)
Returns a Token based on the type of configured token |
Method Detail |
---|
void initialize(java.util.Map tokenFactoryMap)
java.util.Map
- tokenFactoryMapToken validateTokenBytes(byte[] encryptedData) throws com.ibm.websphere.security.auth.InvalidTokenException, com.ibm.websphere.security.auth.TokenExpiredException
byte[]
- token data
com.ibm.websphere.security.auth.InvalidTokenException
com.ibm.websphere.security.auth.TokenExpiredException
Token createToken(java.util.Map tokenData) throws com.ibm.websphere.security.auth.TokenCreationFailedException
java.util.Map
- a hashmap containing configuration info for the Token impl.
The tokenData Map should contain a userUniqueId: "com.ibm.wsspi.security.ltpa.userUniqueId"
com.ibm.websphere.security.auth.TokenCreationFailedException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |