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, impliesParameters
getAlgorithm, getEncoded, getFormat
destroy, isDestroyed
static final String ALGORITHM_CLEAR
char[] getPassword() throws IllegalStateException
IllegalStateException
ClearPassword clone()
Password
.clone
in interface Password
clone
in interface TwoWayPassword
Password
.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.