|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.login.TokenAuthenticator
public class TokenAuthenticator
The authentication module for login-token authentication. It handles both the admin token authentication (where the token comes from the URL query string) and the remember-my-password token authentication (where the token comes from the cookie).
Method Summary | |
---|---|
static TokenAuthenticator |
GetInstance()
|
Redirect |
GetOrSendLoginChallenge(RequestData requestData)
Login token authentication method does not create challenge. |
LoginResult |
Login(RequestData requestData)
Performs the login-token authentication. |
boolean |
Logout(RequestData requestData)
Logout is handled by the ILoginControl in the Login activityspace. |
boolean |
UseThisAuth(RequestData requestData)
Returns a boolean indicating whether a login token exists in the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TokenAuthenticator GetInstance()
public LoginResult Login(RequestData requestData)
Login
in interface IAuthenticator
requestData
- the request
com.plumtree.uiinfrastructure.login.IAuthenticator#Login(com.plumtree.uiinfrastructure.application.RequestData)
public Redirect GetOrSendLoginChallenge(RequestData requestData)
GetOrSendLoginChallenge
in interface IAuthenticator
requestData
- the request
com.plumtree.uiinfrastructure.login.IAuthenticator#GetOrSendLoginChallenge(com.plumtree.uiinfrastructure.application.RequestData)
public boolean Logout(RequestData requestData)
Logout
in interface IAuthenticator
requestData
- the request
com.plumtree.uiinfrastructure.login.IAuthenticator#Logout(com.plumtree.uiinfrastructure.application.RequestData)
public boolean UseThisAuth(RequestData requestData)
UseThisAuth
in interface IAuthenticator
com.plumtree.uiinfrastructure.login.IAuthenticator#ShouldUseAuth(com.plumtree.uiinfrastructure.application.RequestData)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |