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 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.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 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.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.<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. -
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. -
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 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.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. -
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.
-