|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.activityspace.utils.LoginHandlers
public class LoginHandlers
This class contains helper methods for the Interpreter class that handle Login.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULTLOGINCONTROL
|
static boolean |
DEFAULTSPACEISLOGIN
mj: boolean value used by sso |
static java.lang.String |
LOGIN_OCCURED_COOKIE_NAME
login occurred cookie name |
static java.lang.String |
LOGINCONTROL
|
static java.lang.String |
LOGINSPACE
Default login space information |
static boolean |
s_bGuestAccessAllowed
mj: whether guest access is enabled. |
| Constructor Summary | |
|---|---|
LoginHandlers()
|
|
| Method Summary | |
|---|---|
static void |
ClearLoginOccurredCookiePresent(IXPResponse response)
This method clears the login occurred cookie in the response. |
static Redirect |
DoGuestLogin(RequestData tempData)
Handles guest login. |
static Redirect |
DoLogin(IControl loginControl,
RequestData tempData)
This helper method handles logging users in and out from the Login Control. |
static Redirect |
DoLogin(RequestData tempData)
Helper method for login which can be called from SSO login code outside this class. |
static void |
DoLogin(java.lang.String strLoginToken,
RequestData tempData)
Helper method for login which can be called from SSO login code outside this class. |
static void |
DoLogout(RequestData tempData)
helper method to log users out. |
static boolean |
GetIsAutoConnectEnabled(RequestData tempData)
This method is used to determine if auto connect is enabled Turning off auto-connect only disables displaying the 'remember my password' checkbox on login and checking for the login token cookie. |
static boolean |
GetIsGuestRedirectToLoginEnabled(IApplication application,
ISessionManager sessionManager)
This method is used to determine if the guest user should be redirected to their default page or to the login page if a space is not specified. |
static boolean |
GetIsGuestRedirectToLoginEnabled(RequestData tempData)
This method is used to determine if the guest user should be redirected to their default page or to the login page if a space is not specified. |
static boolean |
IsLoginOccurredCookiePresent(IXPRequest request)
This helper method determines whether or not the login occurred cookie is present. |
static void |
StaticInit(ConfigVarPack varpack)
Initializes static member variables from ConfigVarPack. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean s_bGuestAccessAllowed
public static final java.lang.String LOGINSPACE
public static final java.lang.String LOGINCONTROL
public static final java.lang.String DEFAULTLOGINCONTROL
public static final boolean DEFAULTSPACEISLOGIN
public static final java.lang.String LOGIN_OCCURED_COOKIE_NAME
| Constructor Detail |
|---|
public LoginHandlers()
| Method Detail |
|---|
public static void StaticInit(ConfigVarPack varpack)
varpack - a ConfigVarPackpublic static Redirect DoGuestLogin(RequestData tempData)
RequestData -
public static Redirect DoLogin(RequestData tempData)
RequestData - the data for this HTTPRequest
public static void DoLogin(java.lang.String strLoginToken,
RequestData tempData)
RequestData - the data for this HTTPRequestpublic static void DoLogout(RequestData tempData)
RequestData - the data for this HTTPRequestpublic static boolean IsLoginOccurredCookiePresent(IXPRequest request)
request -
public static void ClearLoginOccurredCookiePresent(IXPResponse response)
response - IXPResponse The current response.
public static Redirect DoLogin(IControl loginControl,
RequestData tempData)
loginControl - RequestData - the data for this HTTPRequestpublic static boolean GetIsAutoConnectEnabled(RequestData tempData)
RequestData -
public static boolean GetIsGuestRedirectToLoginEnabled(RequestData tempData)
RequestData -
public static boolean GetIsGuestRedirectToLoginEnabled(IApplication application,
ISessionManager sessionManager)
application - sessionManager -
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||