Package | Description |
---|---|
org.wildfly.security.auth.client |
Elytron Client enable remote clients to authenticate using Elytron.
|
org.wildfly.security.credential | |
org.wildfly.security.mechanism | |
org.wildfly.security.password |
Packages and files for handling text passwords and their various encoding strategies.
|
org.wildfly.security.password.interfaces |
Interfaces which represent each of the supported password encoding strategies.
|
org.wildfly.security.password.spec |
Classes intended to hold raw password material.
|
org.wildfly.security.sasl.util |
Modifier and Type | Method and Description |
---|---|
AuthenticationConfiguration |
AuthenticationConfiguration.usePassword(Password password)
Create a new configuration which is the same as this configuration, but which uses the given password to authenticate.
|
Modifier and Type | Method and Description |
---|---|
<P extends Password> |
PasswordCredential.getPassword(Class<P> type)
Get the password if it is of the given type; otherwise return
null . |
Modifier and Type | Method and Description |
---|---|
Password |
PasswordCredential.getPassword()
Get the password.
|
Constructor and Description |
---|
PasswordCredential(Password password)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Password> |
MechanismUtil.getPasswordCredential(String userName,
CallbackHandler callbackHandler,
Class<S> passwordType,
String passwordAlgorithm,
AlgorithmParameterSpec matchParameters,
AlgorithmParameterSpec generateParameters,
Supplier<Provider[]> providers)
Deprecated.
|
static <S extends Password> |
MechanismUtil.getPasswordCredential(String userName,
CallbackHandler callbackHandler,
Class<S> passwordType,
String passwordAlgorithm,
AlgorithmParameterSpec matchParameters,
AlgorithmParameterSpec generateParameters,
Supplier<Provider[]> providers,
org.wildfly.security._private.ElytronMessages log)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OneWayPassword
A password which can be verified but not recovered.
|
interface |
TwoWayPassword
A password which can be verified and recovered.
|
Modifier and Type | Method and Description |
---|---|
default <P extends Password,R> |
Password.castAndApply(Class<P> passwordType,
Function<P,R> function)
Cast this password type and apply a function if the type matches.
|
default <P extends Password,R> |
Password.castAndApply(Class<P> passwordType,
String algorithmName,
Function<P,R> function)
Cast this password type and apply a function if the type matches.
|
default <P extends Password> |
Password.castAs(Class<P> passwordType)
Cast this password type if the type matches.
|
default <P extends Password> |
Password.castAs(Class<P> passwordType,
String algorithmName)
Cast this password type if the type and algorithm matches.
|
Modifier and Type | Method and Description |
---|---|
Password |
Password.clone()
Creates and returns a copy of this
Password . |
protected abstract Password |
PasswordFactorySpi.engineGeneratePassword(String algorithm,
KeySpec keySpec)
Generate a password from the given key specification.
|
protected abstract Password |
PasswordFactorySpi.engineTransform(String algorithm,
Password password,
AlgorithmParameterSpec parameterSpec)
Transform a password with new parameters.
|
protected abstract Password |
PasswordFactorySpi.engineTranslatePassword(String algorithm,
Password password)
Translate a password object into one which is supported by this engine.
|
Password |
PasswordFactory.generatePassword(KeySpec keySpec)
Generate a new
Password object for the given specification. |
Password |
PasswordFactory.transform(Password password,
AlgorithmParameterSpec parameterSpec)
Transform a password with new parameters.
|
Password |
PasswordFactory.translate(Password password)
Translate the given password object to one which is consumable by this factory.
|
Modifier and Type | Method and Description |
---|---|
<T extends KeySpec> |
PasswordFactory.convertibleToKeySpec(Password password,
Class<T> specType)
Determine whether the given password can be converted to the given key specification type by this factory.
|
protected abstract <S extends KeySpec> |
PasswordFactorySpi.engineConvertibleToKeySpec(String algorithm,
Password password,
Class<S> keySpecType)
Determine whether the given password object is convertible to the given key specification type.
|
protected abstract <S extends KeySpec> |
PasswordFactorySpi.engineGetKeySpec(String algorithm,
Password password,
Class<S> keySpecType)
Get a key specification for the given password object.
|
protected abstract boolean |
PasswordFactorySpi.engineIsTranslatablePassword(String algorithm,
Password password)
Determine whether the given password can be translated into one which is consumable by this factory.
|
protected abstract Password |
PasswordFactorySpi.engineTransform(String algorithm,
Password password,
AlgorithmParameterSpec parameterSpec)
Transform a password with new parameters.
|
protected abstract Password |
PasswordFactorySpi.engineTranslatePassword(String algorithm,
Password password)
Translate a password object into one which is supported by this engine.
|
protected abstract boolean |
PasswordFactorySpi.engineVerify(String algorithm,
Password password,
char[] guess)
Perform password verification.
|
<T extends KeySpec> |
PasswordFactory.getKeySpec(Password password,
Class<T> specType)
Generate a key specification of the given type from the given password object.
|
boolean |
PasswordFactory.isTranslatable(Password password)
Determine whether the given password can be translated into one which is consumable by this factory.
|
Password |
PasswordFactory.transform(Password password,
AlgorithmParameterSpec parameterSpec)
Transform a password with new parameters.
|
Password |
PasswordFactory.translate(Password password)
Translate the given password object to one which is consumable by this factory.
|
boolean |
PasswordFactory.verify(Password password,
char[] guess)
Verify a password guess.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BCryptPassword
A password using the "bcrypt" Blowfish-based one-way password encryption algorithm.
|
interface |
BSDUnixDESCryptPassword
A BSD-style DES "crypt" password.
|
interface |
ClearPassword
A simple clear-text password.
|
interface |
DigestPassword
Digest MD5 (pre-digested) password.
|
interface |
MaskedPassword
A password which has been masked, PicketBox style.
|
interface |
OneTimePassword
A one-time password, used by the OTP SASL mechanism.
|
interface |
SaltedSimpleDigestPassword
A simple password where the generated digest also includes a salt.
|
interface |
ScramDigestPassword
A SCRAM-digest password, used by the SCRAM family of SASL mechanisms.
|
interface |
SimpleDigestPassword
A simple single digest based password.
|
interface |
SunUnixMD5CryptPassword
An MD5-crypt password using the Sun scheme.
|
interface |
UnixDESCryptPassword
The traditional UNIX DES crypt password algorithm.
|
interface |
UnixMD5CryptPassword
The UNIX modular-crypt MD5 crypt algorithm.
|
interface |
UnixSHACryptPassword
The UNIX modular-crypt SHA crypt algorithm.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
BasicPasswordSpecEncoding.encode(Password password)
Encode the given
Password to a byte array. |
static byte[] |
BasicPasswordSpecEncoding.encode(Password password,
Supplier<Provider[]> providers)
Encode the given
Password to a byte array. |
Modifier and Type | Method and Description |
---|---|
static Set<Class<? extends Password>> |
SaslMechanismInformation.getSupportedClientPasswordTypes(String mechName)
Get the supported password types for the given SASL client mechanism.
|
static Set<Class<? extends Password>> |
SaslMechanismInformation.getSupportedServerPasswordTypes(String mechName)
Get the supported password types for the given SASL server mechanism.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.