com.plumtree.portalpages.pei
Class PTCreateAccountActions
java.lang.Object
com.plumtree.portalpages.pei.PTCreateAccountActions
- All Implemented Interfaces:
- ICreateAccountActions
public class PTCreateAccountActions
- extends java.lang.Object
- implements ICreateAccountActions
This class handles validating new passwords for native users.
This does not affect LDAP users or other users stored in external user stores.
Method Summary |
void |
OnAfterAcceptInvite(AActivitySpace _asCurrentSpace,
IPTSession _ptUserSession,
java.lang.String _strInviteCode)
This function will perform some functionality after a particular
invitation has been accepted by a anonymous user. |
java.lang.String |
OnBeforeCreateAccount(AActivitySpace _asCurrentSpace,
IPTSession _ptUserSession,
java.lang.String _strUserName,
java.lang.String _strPassword)
This function will perform some functionality after the manual creation
of a user account. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PTCreateAccountActions
public PTCreateAccountActions()
OnAfterAcceptInvite
public void OnAfterAcceptInvite(AActivitySpace _asCurrentSpace,
IPTSession _ptUserSession,
java.lang.String _strInviteCode)
- Description copied from interface:
ICreateAccountActions
- This function will perform some functionality after a particular
invitation has been accepted by a anonymous user.
- Specified by:
OnAfterAcceptInvite
in interface ICreateAccountActions
- Parameters:
_asCurrentSpace
- - Provides access to the current MVC classes as
well as the Application and the HTTP Session_ptUserSession
- - Plumtree session object for the current user_strInviteCode
- - String Code of the Invitation being accepted.
OnBeforeCreateAccount
public java.lang.String OnBeforeCreateAccount(AActivitySpace _asCurrentSpace,
IPTSession _ptUserSession,
java.lang.String _strUserName,
java.lang.String _strPassword)
- Description copied from interface:
ICreateAccountActions
- This function will perform some functionality after the manual creation
of a user account. (Clicking on the Create Account button on the Login
screen.)
- Specified by:
OnBeforeCreateAccount
in interface ICreateAccountActions
- Parameters:
_asCurrentSpace
- - Provides access to the current MVC classes as
well as the Application and the HTTP Session_ptUserSession
- - Plumtree session object for the current user_strUserName
- - Potential user name for the user trying to be
created._strPassword
- - Potential password for the user trying to be created.
- Returns:
- String - Error message if the creation should not continue,
empty string or null if it should.