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
ConstructorDescriptionPasswordCredentialsUpdate
(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.void
setNewPassword
(char[] newPassword) Methods inherited from class org.eclipse.net4j.util.security.PasswordCredentials
getPassword, setPassword
Methods inherited from class org.eclipse.net4j.util.security.Credentials
getUserID
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.security.IPasswordCredentials
getPassword
Methods 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: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 interfaceIPasswordCredentialsUpdate
-
setNewPassword
public void setNewPassword(char[] newPassword)
-