
org.wildfly.security.mechanism._private.MechanismUtil.@Deprecated public final class MechanismUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <S extends Password> |
getPasswordCredential(String userName,
CallbackHandler callbackHandler,
Class<S> passwordType,
String passwordAlgorithm,
AlgorithmParameterSpec matchParameters,
AlgorithmParameterSpec generateParameters,
Supplier<Provider[]> providers)
Deprecated.
|
static <S extends Password> |
getPasswordCredential(String userName,
CallbackHandler callbackHandler,
Class<S> passwordType,
String passwordAlgorithm,
AlgorithmParameterSpec matchParameters,
AlgorithmParameterSpec generateParameters,
Supplier<Provider[]> providers,
org.wildfly.security._private.ElytronMessages log)
Deprecated.
|
static void |
handleCallbacks(org.wildfly.security._private.ElytronMessages log,
CallbackHandler callbackHandler,
Callback... callbacks)
Deprecated.
|
static void |
handleCallbacks(String mechName,
CallbackHandler callbackHandler,
Callback... callbacks)
Deprecated.
|
@Deprecated public static <S extends Password> S getPasswordCredential(String userName, CallbackHandler callbackHandler, Class<S> passwordType, String passwordAlgorithm, AlgorithmParameterSpec matchParameters, AlgorithmParameterSpec generateParameters, Supplier<Provider[]> providers) throws AuthenticationMechanismException
S - the password typeuserName - the user name to report for error reporting purposes (must not be null)callbackHandler - the callback handler (must not be null)passwordType - the password class (must not be null)passwordAlgorithm - the password algorithm name (must not be null)matchParameters - the optional parameters to match (may be null)generateParameters - the optional default parameters to use if the password must be generated (may be null)providers - the security providers to use with the PasswordFactoryAuthenticationMechanismException@Deprecated public static <S extends Password> S getPasswordCredential(String userName, CallbackHandler callbackHandler, Class<S> passwordType, String passwordAlgorithm, AlgorithmParameterSpec matchParameters, AlgorithmParameterSpec generateParameters, Supplier<Provider[]> providers, org.wildfly.security._private.ElytronMessages log) throws AuthenticationMechanismException
S - the password typeuserName - the user name to report for error reporting purposes (must not be null)callbackHandler - the callback handler (must not be null)passwordType - the password class (must not be null)passwordAlgorithm - the password algorithm name (must not be null)matchParameters - the optional parameters to match (may be null)generateParameters - the optional default parameters to use if the password must be generated (may be null)providers - the security providers to use with the PasswordFactorylog - mechanism specific loggerAuthenticationMechanismException@Deprecated public static void handleCallbacks(org.wildfly.security._private.ElytronMessages log, CallbackHandler callbackHandler, Callback... callbacks) throws AuthenticationMechanismException, UnsupportedCallbackException
log - the logger for error purposescallbackHandler - the callback handlercallbacks - the callbacksAuthenticationMechanismException - if the callback handler fails for some reasonUnsupportedCallbackException - if the callback handler throws this exception@Deprecated public static void handleCallbacks(String mechName, CallbackHandler callbackHandler, Callback... callbacks) throws AuthenticationMechanismException, UnsupportedCallbackException
handleCallbacks(ElytronMessages, CallbackHandler, Callback...) insteadmechName - the mechanism name to report for error purposescallbackHandler - the callback handlercallbacks - the callbacksAuthenticationMechanismException - if the callback handler fails for some reasonUnsupportedCallbackException - if the callback handler throws this exceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.