
public interface ClearPassword extends TwoWayPassword
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM_CLEAR
The algorithm name.
|
serialVersionUID| Modifier and Type | Method and Description |
|---|---|
ClearPassword |
clone()
Creates and returns a copy of this
Password. |
static ClearPassword |
createRaw(String algorithm,
char[] password)
Create a raw implementation of this password type.
|
char[] |
getPassword()
Get the password characters.
|
castAndApply, castAndApply, castAs, castAs, getParameterSpec, impliesParametersgetAlgorithm, getEncoded, getFormatdestroy, isDestroyedstatic final String ALGORITHM_CLEAR
char[] getPassword()
throws IllegalStateException
IllegalStateExceptionClearPassword clone()
Password.clone in interface Passwordclone in interface TwoWayPasswordPassword.static ClearPassword createRaw(String algorithm, char[] password)
PasswordFactory (via the PasswordFactory.translate(Password) method)
before it can be validated and used to verify guesses.algorithm - the algorithm namepassword - the password charactersCopyright © 2020 JBoss by Red Hat. All rights reserved.