Package org.eclipse.net4j.util.security
Class PasswordCredentialsUpdate
java.lang.Object
org.eclipse.net4j.util.security.Credentials
org.eclipse.net4j.util.security.PasswordCredentials
org.eclipse.net4j.util.security.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 Summary
ConstructorsConstructorDescriptionPasswordCredentialsUpdate(String userID) PasswordCredentialsUpdate(String userID, char[] oldPassword, char[] newPassword) PasswordCredentialsUpdate(String userID, String password, String newPassword) -
Method Summary
Modifier and TypeMethodDescriptionchar[]Queries the new password to be set for the user.voidsetNewPassword(char[] newPassword) Methods inherited from class org.eclipse.net4j.util.security.PasswordCredentials
getPassword, setPasswordMethods inherited from class org.eclipse.net4j.util.security.Credentials
getUserIDMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.net4j.util.security.IPasswordCredentials
getPasswordMethods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
-
Constructor Details
-
PasswordCredentialsUpdate
-
PasswordCredentialsUpdate
-
PasswordCredentialsUpdate
-
-
Method Details
-
getNewPassword
public char[] getNewPassword()Description copied from interface:IPasswordCredentialsUpdateQueries 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:
getNewPasswordin interfaceIPasswordCredentialsUpdate
-
setNewPassword
public void setNewPassword(char[] newPassword)
-