See: Description
Interface | Description |
---|---|
SaslClient |
Performs SASL authentication as a client.
|
SaslClientFactory |
An interface for creating instances of
SaslClient . |
SaslServer |
Performs SASL authentication as a server.
|
SaslServerFactory |
An interface for creating instances of
SaslServer . |
Class | Description |
---|---|
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.
|
Exception | 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.
|
SaslException |
This class represents an error that has occurred when using SASL.
|
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.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.