|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttoolbox.opensso.idm.TokenHelper
public class TokenHelper
Helper class to create and manage a SSOToken.
Constructor Summary | |
---|---|
TokenHelper(java.lang.String user,
java.lang.String passwd,
java.lang.String realm,
java.lang.String module)
Create a new TokenHelper instance. |
Method Summary | |
---|---|
void |
destroyToken()
Destroy the token managed by this helper. |
com.iplanet.sso.SSOToken |
getToken()
Return the SSOToken managed by this helper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TokenHelper(java.lang.String user, java.lang.String passwd, java.lang.String realm, java.lang.String module) throws IdmException
user
- String containing the user name.passwd
- String containing the password.realm
- String containing the realm name or DN.module
- String containing the name of login module.
IdmException
- if the helper cannot be initialised.Method Detail |
---|
public com.iplanet.sso.SSOToken getToken() throws IdmException
IdmException
- if the token cannot be returned.public void destroyToken()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |