Uses of Interface
javax.security.auth.callback.CallbackHandler
Package
Description
Provides the classes and interfaces for the security framework.
This package provides a pluggable authentication framework.
This package provides the interface to be used for
implementing pluggable authentication modules.
Contains class and interfaces for supporting SASL.
-
Uses of CallbackHandler in java.security
Modifier and TypeMethodDescriptionKeyStore.CallbackHandlerProtection.getCallbackHandler()
Returns the CallbackHandler.Modifier and TypeMethodDescriptionabstract void
AuthProvider.login
(Subject subject, CallbackHandler handler) Log in to this provider.abstract void
AuthProvider.setCallbackHandler
(CallbackHandler handler) Set aCallbackHandler
.ModifierConstructorDescriptionCallbackHandlerProtection
(CallbackHandler handler) Constructs a new CallbackHandlerProtection from a CallbackHandler. -
Uses of CallbackHandler in javax.security.auth.login
ModifierConstructorDescriptionLoginContext
(String name, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name and aCallbackHandler
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, and aCallbackHandler
object.LoginContext
(String name, Subject subject, CallbackHandler callbackHandler, Configuration config) Instantiate a newLoginContext
object with a name, aSubject
to be authenticated, aCallbackHandler
object, and a loginConfiguration
. -
Uses of CallbackHandler in javax.security.auth.spi
Modifier and TypeMethodDescriptionvoid
LoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize this LoginModule. -
Uses of CallbackHandler in javax.security.sasl
Modifier and TypeMethodDescriptionstatic SaslClient
Sasl.createSaslClient
(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) Creates aSaslClient
using the parameters supplied.SaslClientFactory.createSaslClient
(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) Creates a SaslClient using the parameters supplied.static SaslServer
Sasl.createSaslServer
(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) Creates aSaslServer
for the specified mechanism.SaslServerFactory.createSaslServer
(String mechanism, String protocol, String serverName, Map<String, ?> props, CallbackHandler cbh) Creates aSaslServer
using the parameters supplied.