Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.security.sasl: Javadoc index of package javax.security.sasl.


Package Samples:

javax.security.sasl

Classes:

SaslClient: Performs SASL authentication as a client. A protocol library such as one for LDAP gets an instance of this class in order to perform authentication defined by a specific SASL mechanism. Invoking methods on the SaslClient instance process challenges and create responses according to the SASL mechanism implemented by the SaslClient . As the authentication proceeds, the instance encapsulates the state of a SASL client's authentication exchange. Here's an example of how an LDAP library might use a SaslClient . It first gets an instance of a SaslClient: SaslClient sc = Sasl.createSaslClient(mechanisms, ...
SaslServer: Performs SASL authentication as a server. A server such as an LDAP server gets an instance of this class in order to perform authentication defined by a specific SASL mechanism. Invoking methods on the SaslServer instance generates challenges corresponding to the SASL mechanism implemented by the SaslServer instance. As the authentication proceeds, the instance encapsulates the state of a SASL server's authentication exchange. Here's an example of how an LDAP server might use a SaslServer instance. It first gets an instance of a SaslServer for the SASL mechanism requested by the client: SaslServer ...
SaslServerFactory: An interface for creating instances of SaslServer . A class that implements this interface must be thread-safe and handle multiple simultaneous requests. It must also have a public constructor that accepts no arguments. This interface is not normally accessed directly by a server, which will use the Sasl static methods to create a SaslServer instance instead. However, a particular environment may provide and install a new or different SaslServerFactory .
Sasl: A static class for creating SASL clients and servers. This class defines the policy of how to locate, load, and instantiate SASL clients and servers. For example, an application or library gets a SASL client instance by doing something like: SaslClient sc = Sasl.createSaslClient(mechanisms, authorizationID, protocol, serverName, props, callbackHandler); It can then proceed to use the instance to create an authenticated connection. Similarly, a server gets a SASL server instance by using code that looks as follows: SaslServer ss = Sasl.createSaslServer(mechanism, protocol, serverName, props, ca ...
AuthenticationException: This exception is thrown by a SASL mechanism implementation to indicate that the SASL exchange has failed due to reasons related to authentication, such as an invalid identity, passphrase, or key. Note that the lack of an AuthenticationException does not mean that the failure was not due to an authentication error. A SASL mechanism implementation might throw the more general SaslException instead of AuthenticationException if it is unable to determine the nature of the failure, or if does not want to disclose the nature of the failure, for example, due to security reasons.
SaslClientFactory: An interface for creating instances of SaslClient . A class that implements this interface must be thread-safe and handle multiple simultaneous requests. It must also have a public constructor that accepts no arguments. This interface is not normally accessed directly by a client, which will use the Sasl static methods to create a client instance instead. However, a particular environment may provide and install a new or different SaslClientFactory .
RealmChoiceCallback: This callback is used by SaslClient and SaslServer to obtain a realm given a list of realm choices.
AuthorizeCallback: This callback is used by SaslServer to determine whether one entity (identified by an authenticated authentication ID) can act on behalf of another entity (identified by an authorization ID).
RealmCallback: This callback is used by SaslClient and SaslServer to retrieve realm information.
SaslServerExt: The visible additional methods for a SASL server to support the SM2 protocol.
SaslClientExt: The visible additional methods for a SASL client to support the SM2 protocol.
SaslException: This class represents an error that has occurred when using SASL.

Home | Contact Us | Privacy Policy | Terms of Service