Uses of Interface
javax.security.auth.callback.CallbackHandler
Packages that use CallbackHandler
包
Description
Provides an implementation of
CallbackHandler
.Provides implementations of
LoginModule
.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 com.sun.security.auth.callback
Classes in com.sun.security.auth.callback that implement CallbackHandler修饰符和类ClassDescriptionclass
Prompts and reads from the command line for answers to authentication questions. -
Uses of CallbackHandler in com.sun.security.auth.module
Methods in com.sun.security.auth.module with parameters of type CallbackHandler修饰符和类方法Descriptionvoid
JndiLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
KeyStoreLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
Krb5LoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
LdapLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
NTLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
.void
UnixLoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
. -
Uses of CallbackHandler in java.security
Methods in java.security that return CallbackHandler修饰符和类方法DescriptionKeyStore.CallbackHandlerProtection.getCallbackHandler()
Returns the CallbackHandler.Methods in java.security with parameters of type CallbackHandler修饰符和类方法Descriptionabstract void
AuthProvider.login
(Subject subject, CallbackHandler handler) Log in to this provider.abstract void
AuthProvider.setCallbackHandler
(CallbackHandler handler) Set aCallbackHandler
.Constructors in java.security with parameters of type CallbackHandlerModifierConstructorDescriptionCallbackHandlerProtection
(CallbackHandler handler) Constructs a new CallbackHandlerProtection from a CallbackHandler. -
Uses of CallbackHandler in javax.security.auth.login
Constructors in javax.security.auth.login with parameters of type CallbackHandlerModifierConstructorDescriptionLoginContext
(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
Methods in javax.security.auth.spi with parameters of type CallbackHandler修饰符和类方法Descriptionvoid
LoginModule.initialize
(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) Initialize thisLoginModule
. -
Uses of CallbackHandler in javax.security.sasl
Methods in javax.security.sasl with parameters of type CallbackHandler修饰符和类方法Descriptionstatic 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.