Uses of Interface
org.wildfly.security.password.Password
-
Packages that use Password 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.mechanism._private 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.password.util org.wildfly.security.sasl.util -
-
Uses of Password in org.wildfly.security.auth.client
Methods in org.wildfly.security.auth.client with parameters of type Password Modifier and Type Method 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. -
Uses of Password in org.wildfly.security.credential
Methods in org.wildfly.security.credential with type parameters of type Password Modifier and Type Method Description <P extends Password>
PPasswordCredential. getPassword(Class<P> type)
Get the password if it is of the given type; otherwise returnnull
.Methods in org.wildfly.security.credential that return Password Modifier and Type Method Description Password
PasswordCredential. getPassword()
Get the password.Constructors in org.wildfly.security.credential with parameters of type Password Constructor Description PasswordCredential(Password password)
Construct a new instance. -
Uses of Password in org.wildfly.security.mechanism
Methods in org.wildfly.security.mechanism with type parameters of type Password Modifier and Type Method Description static <S extends Password>
SMechanismUtil. getPasswordCredential(String userName, CallbackHandler callbackHandler, Class<S> passwordType, String passwordAlgorithm, AlgorithmParameterSpec matchParameters, AlgorithmParameterSpec generateParameters, Supplier<Provider[]> providers)
Deprecated.static <S extends Password>
SMechanismUtil. getPasswordCredential(String userName, CallbackHandler callbackHandler, Class<S> passwordType, String passwordAlgorithm, AlgorithmParameterSpec matchParameters, AlgorithmParameterSpec generateParameters, Supplier<Provider[]> providers, ElytronMessages log)
Deprecated. -
Uses of Password in org.wildfly.security.mechanism._private
Methods in org.wildfly.security.mechanism._private with type parameters of type Password Modifier and Type Method Description static <S extends Password>
SMechanismUtil. getPasswordCredential(String userName, CallbackHandler callbackHandler, Class<S> passwordType, String passwordAlgorithm, AlgorithmParameterSpec matchParameters, AlgorithmParameterSpec generateParameters, Supplier<Provider[]> providers, ElytronMessages log)
Get a password from a client or server callback, falling back to clear password if needed. -
Uses of Password in org.wildfly.security.password
Subinterfaces of Password in org.wildfly.security.password Modifier and Type Interface Description interface
OneWayPassword
A password which can be verified but not recovered.interface
TwoWayPassword
A password which can be verified and recovered.Methods in org.wildfly.security.password with type parameters of type Password Modifier and Type Method Description default <P extends Password,R>
RPassword. 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,R>
RPassword. castAndApply(Class<P> passwordType, Function<P,R> function)
Cast this password type and apply a function if the type matches.default <P extends Password>
PPassword. castAs(Class<P> passwordType)
Cast this password type if the type matches.default <P extends Password>
PPassword. castAs(Class<P> passwordType, String algorithmName)
Cast this password type if the type and algorithm matches.Methods in org.wildfly.security.password that return Password Modifier and Type Method Description Password
Password. clone()
Creates and returns a copy of thisPassword
.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 newPassword
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.Methods in org.wildfly.security.password with parameters of type Password Modifier and Type Method Description <T extends KeySpec>
booleanPasswordFactory. 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>
booleanPasswordFactorySpi. 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>
SPasswordFactorySpi. 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>
TPasswordFactory. 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. -
Uses of Password in org.wildfly.security.password.interfaces
Subinterfaces of Password in org.wildfly.security.password.interfaces Modifier and Type Interface 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. -
Uses of Password in org.wildfly.security.password.spec
Methods in org.wildfly.security.password.spec with parameters of type Password Modifier and Type Method Description static byte[]
BasicPasswordSpecEncoding. encode(Password password)
Encode the givenPassword
to a byte array.static byte[]
BasicPasswordSpecEncoding. encode(Password password, Supplier<Provider[]> providers)
Encode the givenPassword
to a byte array. -
Uses of Password in org.wildfly.security.password.util
Methods in org.wildfly.security.password.util that return Password Modifier and Type Method Description static Password
ModularCrypt. createPassword(byte[] password, String algorithm)
static Password
ModularCrypt. decode(char[] cryptString)
Decode the given char array and creates aPassword
instance.static Password
ModularCrypt. decode(String cryptString)
Decode the given string and creates aPassword
instance.Methods in org.wildfly.security.password.util with parameters of type Password Modifier and Type Method Description static void
ModularCrypt. composePassword(ByteArrayOutputStream out, Password password)
static char[]
ModularCrypt. encode(Password password)
Encode the givenPassword
to a char array.static String
ModularCrypt. encodeAsString(Password password)
Encode the givenPassword
to a string. -
Uses of Password in org.wildfly.security.sasl.util
Methods in org.wildfly.security.sasl.util that return types with arguments of type Password Modifier and Type Method 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.
-