changePassword(String, String) method

This method is called when a user is attempting to change their password.

Syntax

public ChangePasswordResult changePassword ( String oldPassword , String newPassword )

Parameters

Returns

one of the constants from User.ChangePasswordResult

Usage

This method can be overridden to implement password changing against a remote system. The return value indicates the success or failure, and the reason for the failure, of the change password attempt.

This method will only be called if authentication is enabled for the Agentry Java system connection.