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 aSecurityRealmimplementation capable of integrating with LDAP servers.org.wildfly.security.credential org.wildfly.security.keystore Utility classes providing and augmenting support forKeyStoremanagement.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-typefrom 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-typefrom an XML reader.Methods in org.wildfly.security.auth.client with parameters of type Password Modifier and Type Method Description AuthenticationConfigurationAuthenticationConfiguration. 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 voidSimpleMapBackedSecurityRealm. setPasswordMap(String name, Password password)Deprecated.UseSimpleMapBackedSecurityRealm.setIdentityMap(Map)instead.voidSimpleMapBackedSecurityRealm. 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 PasswordUserPasswordPasswordUtil. createClearPassword(int skip, byte[] userPassword)private static PasswordUserPasswordPasswordUtil. createSaltedSimpleDigestPassword(String algorithm, int prefixSize, byte[] userPassword, Encoding hashEncoding)private static PasswordUserPasswordPasswordUtil. createSimpleDigestPassword(String algorithm, int prefixSize, byte[] userPassword, Encoding hashEncoding)static PasswordUserPasswordPasswordUtil. parseUserPassword(byte[] userPassword)static PasswordUserPasswordPasswordUtil. 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 PasswordPasswordCredential. passwordMethods 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 PasswordPasswordCredential. 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 PasswordPasswordEntry. passwordMethods in org.wildfly.security.keystore that return Password Modifier and Type Method Description private static PasswordWrappingPasswordKeyStoreSpiImpl. decoded(SecretKey key)PasswordPasswordEntry. getPassword()Methods in org.wildfly.security.keystore with parameters of type Password Modifier and Type Method Description private static SecretKeyWrappingPasswordKeyStoreSpiImpl. 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 interfaceOneWayPasswordA password which can be verified but not recovered.interfaceTwoWayPasswordA 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 PasswordPassword. clone()Creates and returns a copy of thisPassword.protected abstract PasswordPasswordFactorySpi. engineGeneratePassword(String algorithm, KeySpec keySpec)Generate a password from the given key specification.protected abstract PasswordPasswordFactorySpi. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)Transform a password with new parameters.protected abstract PasswordPasswordFactorySpi. engineTranslatePassword(String algorithm, Password password)Translate a password object into one which is supported by this engine.PasswordPasswordFactory. generatePassword(KeySpec keySpec)Generate a newPasswordobject for the given specification.PasswordPasswordFactory. transform(Password password, AlgorithmParameterSpec parameterSpec)Transform a password with new parameters.PasswordPasswordFactory. 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 booleanPasswordFactorySpi. engineIsTranslatablePassword(String algorithm, Password password)Determine whether the given password can be translated into one which is consumable by this factory.protected abstract PasswordPasswordFactorySpi. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)Transform a password with new parameters.protected abstract PasswordPasswordFactorySpi. engineTranslatePassword(String algorithm, Password password)Translate a password object into one which is supported by this engine.protected abstract booleanPasswordFactorySpi. engineVerify(String algorithm, Password password, char[] guess)Perform password verification.protected booleanPasswordFactorySpi. 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.booleanPasswordFactory. isTranslatable(Password password)Determine whether the given password can be translated into one which is consumable by this factory.PasswordPasswordFactory. transform(Password password, AlgorithmParameterSpec parameterSpec)Transform a password with new parameters.PasswordPasswordFactory. translate(Password password)Translate the given password object to one which is consumable by this factory.booleanPasswordFactory. verify(Password password, char[] guess)Verify a password guess.booleanPasswordFactory. 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) classAbstractPasswordImpl(package private) classBCryptPasswordImplImplementation of the bcrypt password.(package private) classBSDUnixDESCryptPasswordImplImplementation of the BSD variant of the Unix DES Crypt password.(package private) classClearPasswordImpl(package private) classDigestPasswordImplPre-digested (DigestMD5) credential type implementation.(package private) classMaskedPasswordImpl(package private) classOneTimePasswordImplAPasswordimplementation forOneTimePassword.(package private) classSaltedSimpleDigestPasswordImplAPasswordimplementation forSaltedSimpleDigestPassword.(package private) classScramDigestPasswordImplAPasswordimplementation forScramDigestPassword.(package private) classSimpleDigestPasswordImpl(package private) classSunUnixMD5CryptPasswordImplImplementation of the Sun variant of the Unix MD5 Crypt password.(package private) classUnixDESCryptPasswordImpl(package private) classUnixMD5CryptPasswordImplImplementation of the Unix MD5 Crypt password.(package private) classUnixSHACryptPasswordImplMethods in org.wildfly.security.password.impl that return Password Modifier and Type Method Description protected PasswordPasswordFactorySpiImpl. engineGeneratePassword(String algorithm, KeySpec keySpec)protected PasswordPasswordFactorySpiImpl. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)protected PasswordPasswordFactorySpiImpl. engineTranslatePassword(String algorithm, Password password)(package private) PasswordAbstractPasswordImpl. translate(AlgorithmParameterSpec parameterSpec)(package private) PasswordOneTimePasswordImpl. translate(AlgorithmParameterSpec parameterSpec)(package private) PasswordScramDigestPasswordImpl. 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 booleanPasswordFactorySpiImpl. engineIsTranslatablePassword(String algorithm, Password password)protected PasswordPasswordFactorySpiImpl. engineTransform(String algorithm, Password password, AlgorithmParameterSpec parameterSpec)protected PasswordPasswordFactorySpiImpl. engineTranslatePassword(String algorithm, Password password)protected booleanPasswordFactorySpiImpl. engineVerify(String algorithm, Password password, char[] guess)protected booleanPasswordFactorySpiImpl. 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 interfaceBCryptPasswordA password using the "bcrypt" Blowfish-based one-way password encryption algorithm.interfaceBSDUnixDESCryptPasswordA BSD-style DES "crypt" password.interfaceClearPasswordA simple clear-text password.interfaceDigestPasswordDigest MD5 (pre-digested) password.interfaceMaskedPasswordA password which has been masked, PicketBox style.interfaceOneTimePasswordA one-time password, used by the OTP SASL mechanism.interfaceSaltedSimpleDigestPasswordA simple password where the generated digest also includes a salt.interfaceScramDigestPasswordA SCRAM-digest password, used by the SCRAM family of SASL mechanisms.interfaceSimpleDigestPasswordA simple single digest based password.interfaceSunUnixMD5CryptPasswordAn MD5-crypt password using the Sun scheme.interfaceUnixDESCryptPasswordThe traditional UNIX DES crypt password algorithm.interfaceUnixMD5CryptPasswordThe UNIX modular-crypt MD5 crypt algorithm.interfaceUnixSHACryptPasswordThe UNIX modular-crypt SHA crypt algorithm.Classes in org.wildfly.security.password.interfaces that implement Password Modifier and Type Class Description (package private) classRawBCryptPassword(package private) classRawBSDUnixDESCryptPassword(package private) classRawClearPassword(package private) classRawDigestPassword(package private) classRawMaskedPassword(package private) classRawOneTimePassword(package private) classRawPassword(package private) classRawSaltedSimpleDigestPassword(package private) classRawScramDigestPassword(package private) classRawSimpleDigestPassword(package private) classRawSunUnixMD5CryptPassword(package private) classRawUnixDESCryptPassword(package private) classRawUnixMD5CryptPassword(package private) classRawUnixSHACryptPassword -
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 givenPasswordto a byte array.static byte[]BasicPasswordSpecEncoding. encode(Password password, Supplier<Provider[]> providers)Encode the givenPasswordto 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 PasswordModularCrypt. createBsdCryptBasedPassword(byte[] userPassword)private static PasswordModularCrypt. createCryptBasedPassword(byte[] userPassword)static PasswordModularCrypt. createPassword(byte[] password, String algorithm)static PasswordModularCrypt. decode(char[] cryptString)Decode the given char array and creates aPasswordinstance.static PasswordModularCrypt. decode(String cryptString)Decode the given string and creates aPasswordinstance.private static PasswordModularCrypt. parseBCryptPasswordString(char[] cryptString)private static PasswordModularCrypt. parseBSDUnixDESCryptPasswordString(char[] cryptString)private static PasswordModularCrypt. parseMaskedPasswordString(char[] chars)private static PasswordModularCrypt. parseSunUnixMD5CryptPasswordString(String algorithm, char[] cryptString)private static PasswordModularCrypt. parseUnixDESCryptPasswordString(char[] cryptString)private static PasswordModularCrypt. parseUnixMD5CryptPasswordString(char[] cryptString)private static PasswordModularCrypt. parseUnixSHA256CryptPasswordString(char[] cryptString)private static PasswordModularCrypt. parseUnixSHA512CryptPasswordString(char[] cryptString)private static PasswordModularCrypt. 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 voidModularCrypt. composePassword(ByteArrayOutputStream out, Password password)static char[]ModularCrypt. encode(Password password)Encode the givenPasswordto a char array.static StringModularCrypt. encodeAsString(Password password)Encode the givenPasswordto a string.private static StringBuilderModularCrypt. 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_WAYMethods 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.
-