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.auth.realm Security realm implementations for Elytron.org.wildfly.security.auth.realm.ldap Classes related to aSecurityRealm
implementation capable of integrating with LDAP servers.org.wildfly.security.credential org.wildfly.security.keystore Utility classes providing and augmenting support forKeyStore
management.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.impl The Elytron implementation of password types.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 that return types with arguments of type Password Modifier and Type Method Description (package private) static org.wildfly.common.function.ExceptionSupplier<Password,org.wildfly.client.config.ConfigXMLParseException>
ElytronXmlParser. parseClearPassword(org.wildfly.client.config.ConfigurationXMLStreamReader reader, Supplier<Provider[]> providers)
Parse an XML element of typeclear-password-type
from an XML reader.(package private) static org.wildfly.common.function.ExceptionSupplier<Password,org.wildfly.client.config.ConfigXMLParseException>
ElytronXmlParser. parseMaskedPassword(org.wildfly.client.config.ConfigurationXMLStreamReader reader, Supplier<Provider[]> providers)
Parse an XML element of typemasked-password-type
from an XML reader.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.auth.realm
Methods in org.wildfly.security.auth.realm with parameters of type Password Modifier and Type Method Description void
SimpleMapBackedSecurityRealm. setPasswordMap(String name, Password password)
Deprecated.UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)
instead.void
SimpleMapBackedSecurityRealm. setPasswordMap(String name, Password password, Attributes attributes)
Deprecated.UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)
instead. -
Uses of Password in org.wildfly.security.auth.realm.ldap
Methods in org.wildfly.security.auth.realm.ldap that return Password Modifier and Type Method Description private static Password
UserPasswordPasswordUtil. createClearPassword(int skip, byte[] userPassword)
private static Password
UserPasswordPasswordUtil. createSaltedSimpleDigestPassword(String algorithm, int prefixSize, byte[] userPassword, Encoding hashEncoding)
private static Password
UserPasswordPasswordUtil. createSimpleDigestPassword(String algorithm, int prefixSize, byte[] userPassword, Encoding hashEncoding)
static Password
UserPasswordPasswordUtil. parseUserPassword(byte[] userPassword)
static Password
UserPasswordPasswordUtil. parseUserPassword(byte[] userPassword, Encoding hashEncoding)
Methods in org.wildfly.security.auth.realm.ldap with parameters of type Password Modifier and Type Method Description static byte[]
UserPasswordPasswordUtil. composeUserPassword(Password password)
static byte[]
UserPasswordPasswordUtil. composeUserPassword(Password password, Encoding hashEncoding)
-
Uses of Password in org.wildfly.security.credential
Fields in org.wildfly.security.credential declared as Password Modifier and Type Field Description private Password
PasswordCredential. password
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.keystore
Fields in org.wildfly.security.keystore declared as Password Modifier and Type Field Description private Password
PasswordEntry. password
Methods in org.wildfly.security.keystore that return Password Modifier and Type Method Description private static Password
WrappingPasswordKeyStoreSpiImpl. decoded(SecretKey key)
Password
PasswordEntry. getPassword()
Methods in org.wildfly.security.keystore with parameters of type Password Modifier and Type Method Description private static SecretKey
WrappingPasswordKeyStoreSpiImpl. encoded(Password password)
Constructors in org.wildfly.security.keystore with parameters of type Password Constructor Description PasswordEntry(Password password)
-
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.protected boolean
PasswordFactorySpi. engineVerify(String algorithm, Password password, char[] guess, Charset hashCharset)
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.boolean
PasswordFactory. verify(Password password, char[] guess, Charset hashCharset)
Verify a password guess. -
Uses of Password in org.wildfly.security.password.impl
Classes in org.wildfly.security.password.impl that implement Password Modifier and Type Class Description (package private) class
AbstractPasswordImpl
(package private) class
BCryptPasswordImpl
Implementation of the bcrypt password.(package private) class
BSDUnixDESCryptPasswordImpl
Implementation of the BSD variant of the Unix DES Crypt password.(package private) class
ClearPasswordImpl
(package private) class
DigestPasswordImpl
Pre-digested (DigestMD5) credential type implementation.(package private) class
MaskedPasswordImpl
(package private) class
OneTimePasswordImpl
APassword
implementation forOneTimePassword
.(package private) class
SaltedSimpleDigestPasswordImpl
APassword
implementation forSaltedSimpleDigestPassword
.(package private) class
ScramDigestPasswordImpl
APassword
implementation forScramDigestPassword
.(package private) class
SimpleDigestPasswordImpl
(package private) class
SunUnixMD5CryptPasswordImpl
Implementation of the Sun variant of the Unix MD5 Crypt password.(package private) class
UnixDESCryptPasswordImpl
(package private) class
UnixMD5CryptPasswordImpl
Implementation of the Unix MD5 Crypt password.(package private) class
UnixSHACryptPasswordImpl
Methods in org.wildfly.security.password.impl that return Password Modifier and Type Method Description protected Password
PasswordFactorySpiImpl. engineGeneratePassword(String algorithm, KeySpec keySpec)
protected Password
PasswordFactorySpiImpl. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)
protected Password
PasswordFactorySpiImpl. engineTranslatePassword(String algorithm, Password password)
(package private) Password
AbstractPasswordImpl. translate(AlgorithmParameterSpec parameterSpec)
(package private) Password
ScramDigestPasswordImpl. translate(AlgorithmParameterSpec parameterSpec)
Methods in org.wildfly.security.password.impl with parameters of type Password Modifier and Type Method Description protected <S extends KeySpec>
booleanPasswordFactorySpiImpl. engineConvertibleToKeySpec(String algorithm, Password password, Class<S> keySpecType)
protected <S extends KeySpec>
SPasswordFactorySpiImpl. engineGetKeySpec(String algorithm, Password password, Class<S> keySpecType)
protected boolean
PasswordFactorySpiImpl. engineIsTranslatablePassword(String algorithm, Password password)
protected Password
PasswordFactorySpiImpl. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)
protected Password
PasswordFactorySpiImpl. engineTranslatePassword(String algorithm, Password password)
protected boolean
PasswordFactorySpiImpl. engineVerify(String algorithm, Password password, char[] guess)
protected boolean
PasswordFactorySpiImpl. engineVerify(String algorithm, Password password, char[] guess, Charset hashCharset)
-
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.Classes in org.wildfly.security.password.interfaces that implement Password Modifier and Type Class Description (package private) class
RawBCryptPassword
(package private) class
RawBSDUnixDESCryptPassword
(package private) class
RawClearPassword
(package private) class
RawDigestPassword
(package private) class
RawMaskedPassword
(package private) class
RawOneTimePassword
(package private) class
RawPassword
(package private) class
RawSaltedSimpleDigestPassword
(package private) class
RawScramDigestPassword
(package private) class
RawSimpleDigestPassword
(package private) class
RawSunUnixMD5CryptPassword
(package private) class
RawUnixDESCryptPassword
(package private) class
RawUnixMD5CryptPassword
(package private) class
RawUnixSHACryptPassword
-
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 private static Password
ModularCrypt. createBsdCryptBasedPassword(byte[] userPassword)
private static Password
ModularCrypt. createCryptBasedPassword(byte[] userPassword)
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.private static Password
ModularCrypt. parseBCryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseBSDUnixDESCryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseMaskedPasswordString(char[] chars)
private static Password
ModularCrypt. parseSunUnixMD5CryptPasswordString(String algorithm, char[] cryptString)
private static Password
ModularCrypt. parseUnixDESCryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseUnixMD5CryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseUnixSHA256CryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseUnixSHA512CryptPasswordString(char[] cryptString)
private static Password
ModularCrypt. parseUnixSHACryptPassword(char[] cryptString, int[] table, String algorithm)
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.private static StringBuilder
ModularCrypt. getCryptStringToBuilder(Password password)
-
Uses of Password in org.wildfly.security.sasl.util
Fields in org.wildfly.security.sasl.util with type parameters of type Password Modifier and Type Field Description (package private) static Set<Class<? extends Password>>
SaslMechanismInformation. DIGEST_AND_TWO_WAY
(package private) static Set<Class<? extends Password>>
SaslMechanismInformation. JUST_ONE_WAY
(package private) static Set<Class<? extends Password>>
SaslMechanismInformation. JUST_TWO_WAY
(package private) static Set<Class<? extends Password>>
SaslMechanismInformation. ONE_WAY_AND_TWO_WAY
(package private) static Set<Class<? extends Password>>
SaslMechanismInformation. SCRAM_AND_TWO_WAY
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.
-