Class PasswordCredentialsUpdate

All Implemented Interfaces:
ICredentials, IPasswordCredentials, IPasswordCredentialsUpdate, IUserAware

public class PasswordCredentialsUpdate extends PasswordCredentials implements IPasswordCredentialsUpdate
Default implementation of the IPasswordCredentialsUpdate interface.
Since:
3.4
Author:
Christian W. Damus (CEA LIST)
  • Constructor Details

    • PasswordCredentialsUpdate

      public PasswordCredentialsUpdate(String userID, char[] oldPassword, char[] newPassword)
    • PasswordCredentialsUpdate

      public PasswordCredentialsUpdate(String userID, String password, String newPassword)
    • PasswordCredentialsUpdate

      public PasswordCredentialsUpdate(String userID)
  • Method Details

    • getNewPassword

      public char[] getNewPassword()
      Description copied from interface: IPasswordCredentialsUpdate
      Queries the new password to be set for the user. It is the responsibility of the provider of an update to verify that this is actually the new password intended by the user.
      Specified by:
      getNewPassword in interface IPasswordCredentialsUpdate
    • setNewPassword

      public void setNewPassword(char[] newPassword)