SaslClient
and SaslClientFactory
interfaces. Developers who write servers use the SaslServer
and SaslServerFactory
interfaces. Among these two groups of users, each can be further divided into two groups: those who produce the SASL mechanisms and those who use the SASL mechanisms. The producers of SASL mechanisms need to provide implementations for these interfaces, while users of the SASL mechanisms use the APIs in this package to access those implementations. Class | Description |
---|---|
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. |
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. |
RealmChoiceCallback | This callback is used by SaslClient and SaslServer to obtain a realm given a list of realm choices. |
Sasl | A static class for creating SASL clients and servers. |
SaslClient | Performs SASL authentication as a client. |
SaslClientFactory | An interface for creating instances of SaslClient . |
SaslException | This class represents an error that has occurred when using SASL. |
SaslServer | Performs SASL authentication as a server. |
SaslServerFactory | An interface for creating instances of SaslServer . |
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.security.sasl/javax/security/sasl/package-summary.html