Uses of Interface
javax.security.auth.callback.CallbackHandler
-
Packages that use CallbackHandler Package Description com.sun.security.auth.callback Provides an implementation ofCallbackHandler.com.sun.security.auth.module Provides implementations ofLoginModule.java.security Provides the classes and interfaces for the security framework.javax.security.auth.login This package provides a pluggable authentication framework.javax.security.auth.spi This package provides the interface to be used for implementing pluggable authentication modules.javax.security.sasl 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 Modifier and Type Class Description classTextCallbackHandlerPrompts 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 Modifier and Type Method Description voidJndiLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidKeyStoreLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidKrb5LoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidLdapLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidNTLoginModule. initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)Initialize thisLoginModule.voidUnixLoginModule. 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 Modifier and Type Method Description CallbackHandlerKeyStore.CallbackHandlerProtection. getCallbackHandler()Returns the CallbackHandler.Methods in java.security with parameters of type CallbackHandler Modifier and Type Method Description abstract voidAuthProvider. login(Subject subject, CallbackHandler handler)Log in to this provider.abstract voidAuthProvider. setCallbackHandler(CallbackHandler handler)Set aCallbackHandler.Constructors in java.security with parameters of type CallbackHandler Constructor Description CallbackHandlerProtection(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 CallbackHandler Constructor Description LoginContext(String name, CallbackHandler callbackHandler)Instantiate a newLoginContextobject with a name and aCallbackHandlerobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, and aCallbackHandlerobject.LoginContext(String name, Subject subject, CallbackHandler callbackHandler, Configuration config)Instantiate a newLoginContextobject with a name, aSubjectto be authenticated, aCallbackHandlerobject, and a loginConfiguration. -
Uses of CallbackHandler in javax.security.auth.spi
Methods in javax.security.auth.spi with parameters of type CallbackHandler Modifier and Type Method Description voidLoginModule. 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 Modifier and Type Method Description static SaslClientSasl. createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)Creates aSaslClientusing the parameters supplied.SaslClientSaslClientFactory. createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)Creates a SaslClient using the parameters supplied.static SaslServerSasl. createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)Creates aSaslServerfor the specified mechanism.SaslServerSaslServerFactory. createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)Creates aSaslServerusing the parameters supplied.
-