|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.login.HTTPBasicAuthenticator
public class HTTPBasicAuthenticator
The authentication module for HTTP Basic authentication.
Field Summary | |
---|---|
static java.lang.String |
AUTH_CHALLENGE
Internal string constants for basic auth challenge. |
static java.lang.String |
AUTH_DOMAIN
|
static java.lang.String |
AUTHORIZATION_HEADER
Internal string constants for decoding basic auth credentials. |
static java.lang.String |
BASIC_AUTH
|
static java.lang.String[] |
BASIC_AUTH_ENCODINGS_ORDERED
Ordered with most common first (win-1252 latin characters). |
static java.lang.String |
LOGIN_ATTEMPTS
Key to data stored on the HTTP Session |
static int |
MAX_LOGIN_ATTEMPTS
|
Method Summary | |
---|---|
static LoginResult |
DoBasicAuthLogin(RequestData tempData)
Helper method for basic auth login. |
static int |
GetBasicAuthCookieExpiration(RequestData _tempData)
Helper method to get the basic auth cookie expiration value from the config files. |
boolean |
GetBasicAuthOverrideSSO(RequestData _tempData)
Helper method to determine whether or not we should use an HTTP basic auth challenge to authenticate the user. |
static HTTPBasicAuthenticator |
GetInstance()
|
Redirect |
GetOrSendLoginChallenge(RequestData requestData)
Sends an HTTP Basic authentication challenge. |
boolean |
IsBasicAuthURL(java.lang.String strURL)
|
LoginResult |
Login(RequestData requestData)
Performs login using HTTP basic authentication credentials in the request header. |
boolean |
Logout(RequestData requestData)
Logout is handled by the ILoginControl in the Login AS. |
static void |
SendBasicAuthChallenge(RequestData _tempData)
Helper method to send an HTTP basic auth challenge to authenticate the user. |
boolean |
UseThisAuth(RequestData requestData)
Helper method to determine whether or not we should use an HTTP basic auth challenge to authenticate the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AUTH_CHALLENGE
public static final java.lang.String AUTH_DOMAIN
public static final java.lang.String AUTHORIZATION_HEADER
public static final java.lang.String BASIC_AUTH
public static final java.lang.String[] BASIC_AUTH_ENCODINGS_ORDERED
public static final java.lang.String LOGIN_ATTEMPTS
public static final int MAX_LOGIN_ATTEMPTS
Method Detail |
---|
public static HTTPBasicAuthenticator 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()
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
requestData
-
public boolean IsBasicAuthURL(java.lang.String strURL)
public static LoginResult DoBasicAuthLogin(RequestData tempData)
RequestData
- the data for this HTTPRequest
public boolean GetBasicAuthOverrideSSO(RequestData _tempData)
_tempData
- public static int GetBasicAuthCookieExpiration(RequestData _tempData)
_tempData
-
public static void SendBasicAuthChallenge(RequestData _tempData)
_tempData
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |