|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portalpages.pei.PTLoginActions
public class PTLoginActions
Field Summary | |
---|---|
static java.lang.String |
PASSWORD_LAST_CHANGED
|
Constructor Summary | |
---|---|
PTLoginActions()
|
Method Summary | |
---|---|
Redirect |
CheckPasswordExpiration(IPTSession _ptSession,
ApplicationData _appData)
This internal helper method checks if the password has expired or not. |
static java.lang.String |
GetBrowserLocaleSetting(AActivitySpace _asOwner)
This method gets a supported locale from the browser settings, but does not set it anywhere. |
protected static java.lang.String |
InternalGetBrowserLocale(java.lang.String sBrowserLocaleList,
IApplication _application,
XPResourceManager _rm)
This method gets a supported locale from the browser settings, and sets it on the http session and as a runtime setting. |
protected static void |
InternalSetBrowserLocaleSetting(java.lang.String sLocale,
IPTSession _ptSession,
ISessionManager _sessionManager,
ISessionManager _persistentSessionManager,
IApplication _application,
XPResourceManager _rm)
This method gets a supported locale from the browser settings, and sets it on the http session and as a runtime setting. |
Redirect |
OnAfterLogin(java.lang.Object _oUserSession,
ApplicationData _appData)
This function will take a given userSession and grab all of the users personal settings and take care of caching them. |
Redirect |
OnBeforeLogin(ApplicationData _appData,
java.lang.String _strUserName)
This functions allows for some functionality to occur before the user has logged in to the Portal. |
Redirect |
OnBeforeLogout(java.lang.Object _oUserSession,
ApplicationData _appData)
This function allows for some functionality to occur once the user has clicked on the Logoff link. |
java.lang.String |
OnFailedLogin(ApplicationData _appData,
java.lang.String _strUserName,
XPException _xpError)
This function allows for some functionality to occur if a user should not login successfully. |
protected void |
SetBrowserLocaleSetting(ApplicationData _appData,
IPTSession _ptSession,
ISessionManager _sessionManager,
ISessionManager _persistentSessionManager,
IApplication _application,
XPResourceManager _rm)
This method gets a supported locale from the browser settings, and sets it on the http session and as a runtime setting. |
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 PASSWORD_LAST_CHANGED
Constructor Detail |
---|
public PTLoginActions()
Method Detail |
---|
public Redirect OnAfterLogin(java.lang.Object _oUserSession, ApplicationData _appData)
OnAfterLogin
in interface ILoginActions
_oUserSession
- - Session object for the current user_appData
- - This parameter provides access to some of the
application data that would normally be available through the
current Activity Space
com.plumtree.uiinfrastructure.login.ILoginActions#OnAfterLogin(Object, ApplicationData)
public Redirect CheckPasswordExpiration(IPTSession _ptSession, ApplicationData _appData)
_ptSession
- the current user session._appData
- the application data for this PEI
public Redirect OnBeforeLogin(ApplicationData _appData, java.lang.String _strUserName)
ILoginActions
OnBeforeLogin
in interface ILoginActions
_appData
- - This parameter provides access to some of the
application data that would normally be available through the
current Activity Space_strUserName
- - This is the name of the user that is about
to log in. This is blank if this is an auto-login. It will
be "Guest" if it is the guest user (This value will always
be the same, even if you rename the guest user).
public Redirect OnBeforeLogout(java.lang.Object _oUserSession, ApplicationData _appData)
ILoginActions
OnBeforeLogout
in interface ILoginActions
_oUserSession
- - Session object for the current user_appData
- - This parameter provides access to some of the
application data that would normally be available through the
current Activity Space
public java.lang.String OnFailedLogin(ApplicationData _appData, java.lang.String _strUserName, XPException _xpError)
ILoginActions
OnFailedLogin
in interface ILoginActions
_appData
- - This parameter provides access to some of the
application data that would normally be available through the
current Activity Space_strUserName
- - This is the name of the user who failed on login.._xpError
- - the error that caused login to fail. May be null
protected void SetBrowserLocaleSetting(ApplicationData _appData, IPTSession _ptSession, ISessionManager _sessionManager, ISessionManager _persistentSessionManager, IApplication _application, XPResourceManager _rm)
_appData
- _oUserSession
- _sessionManager
- _application
- _rm
- public static java.lang.String GetBrowserLocaleSetting(AActivitySpace _asOwner)
_asOwner
-
protected static java.lang.String InternalGetBrowserLocale(java.lang.String sBrowserLocaleList, IApplication _application, XPResourceManager _rm)
_appData
- _oUserSession
- _sessionManager
- _application
- _rm
- protected static void InternalSetBrowserLocaleSetting(java.lang.String sLocale, IPTSession _ptSession, ISessionManager _sessionManager, ISessionManager _persistentSessionManager, IApplication _application, XPResourceManager _rm)
_appData
- _oUserSession
- _sessionManager
- _application
- _rm
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |