|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.login.LoginPEIContainer
public class LoginPEIContainer
This helper object wraps up Login PEIs that implement either ILoginActions or ILoginActions2 and makes them behave the same.
| Field Summary | |
|---|---|
protected ILoginActions2 |
m_LoginActions2PEI
|
protected ILoginActions |
m_LoginActionsPEI
|
| Constructor Summary | |
|---|---|
LoginPEIContainer(ILoginActions _pei)
|
|
| Method Summary | |
|---|---|
Redirect |
OnAfterLogin(java.lang.Object _oUserSession,
ApplicationData _appData)
This function allows for some functionality to occur once the user has successfully logged in and then possibly do a redirect to someplace other than the MyPage. |
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. |
Redirect |
OnFailedLoginDoRedirect(ApplicationData _appData,
java.lang.String _strUserName,
XPException _xpError)
This function allows for some functionality to occur if a user should not login successfully and then possibly do a redirect to someplace other than the standard Login page. |
java.lang.String |
toString()
This method is overridden so that when we try to display the contents of the PEI lists we get an appropriate value instead of just seeing wrapper objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ILoginActions m_LoginActionsPEI
protected ILoginActions2 m_LoginActions2PEI
| Constructor Detail |
|---|
public LoginPEIContainer(ILoginActions _pei)
| Method Detail |
|---|
public Redirect OnFailedLoginDoRedirect(ApplicationData _appData,
java.lang.String _strUserName,
XPException _xpError)
ILoginActions2
OnFailedLoginDoRedirect in interface ILoginActions2_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
com.plumtree.uiinfrastructure.pei.ILoginActions2#OnFailedLoginDoRedirect(com.plumtree.uiinfrastructure.login.ApplicationData, java.lang.String, com.plumtree.openfoundation.util.XPException)
public Redirect OnAfterLogin(java.lang.Object _oUserSession,
ApplicationData _appData)
ILoginActions
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
ILoginActions.OnAfterLogin(java.lang.Object, com.plumtree.uiinfrastructure.login.ApplicationData)
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
ILoginActions.OnBeforeLogout(java.lang.Object, com.plumtree.uiinfrastructure.login.ApplicationData)
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).
ILoginActions.OnBeforeLogin(com.plumtree.uiinfrastructure.login.ApplicationData, java.lang.String)
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
com.plumtree.uiinfrastructure.pei.ILoginActions#OnFailedLogin(com.plumtree.uiinfrastructure.login.ApplicationData, java.lang.String, com.plumtree.openfoundation.util.XPException)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||