com.plumtree.portalpages.pei
Class PTPasswordActions

java.lang.Object
  extended by com.plumtree.portalpages.pei.PTPasswordActions
All Implemented Interfaces:
IPasswordActions

public class PTPasswordActions
extends java.lang.Object
implements IPasswordActions

This class handles validating changed passwords for native users. This does not affect LDAP users or other users stored in external user stores.


Constructor Summary
PTPasswordActions()
           
 
Method Summary
 java.lang.String OnBeforeChangePassword(AActivitySpace _asCurrentSpace, IPTSession _ptUserSession, XPHashtable _htFormData)
          This interface will allow for the implementation of functions that will occur when a user tries to change their password.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PTPasswordActions

public PTPasswordActions()
Method Detail

OnBeforeChangePassword

public java.lang.String OnBeforeChangePassword(AActivitySpace _asCurrentSpace,
                                               IPTSession _ptUserSession,
                                               XPHashtable _htFormData)
Description copied from interface: IPasswordActions
This interface will allow for the implementation of functions that will occur when a user tries to change their password.

Warning: Values in _htFormData are String Arrays (String[]).
e.g.:
String[] arrVals = (String[]) _htFormData.GetElement(sKey);
String sVal = arrVals[0];

Specified by:
OnBeforeChangePassword in interface IPasswordActions
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
_htFormData - - This parameter refers to the form data that has been entered by the user during the changing of a password.
Returns:
String - This will be a string containing a error message if the data was incorrect or if the process should not continue otherwise it will be null or "".



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.