Overview
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
G
H
I
M
P
Q
R
S
T
U
W
A
AuthorizeCallback
- class javax.security.sasl.
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).
AuthorizeCallback(String, String)
- Constructor for class javax.security.sasl.
AuthorizeCallback
Constructs an instance of
AuthorizeCallback
.
C
CLIENT_PKGS
- Static variable in class javax.security.sasl.
Sasl
The name of the property that specifies the
SaslClientFactory
s to use.
createSaslClient(String[], String, String, String, Hashtable, CallbackHandler)
- Static method in class javax.security.sasl.
Sasl
Creates a
SaslClient
using the parameters supplied.
createSaslClient(String[], String, String, String, Hashtable, CallbackHandler)
- Method in interface javax.security.sasl.
SaslClientFactory
Creates a SaslClient using the parameters supplied.
createSaslServer(String, String, String, Hashtable, CallbackHandler)
- Static method in class javax.security.sasl.
Sasl
Creates a
SaslServer
for the specified mechanism.
createSaslServer(String, String, String, Hashtable, CallbackHandler)
- Method in interface javax.security.sasl.
SaslServerFactory
Creates a
SaslServer
using the parameters supplied.
D
dispose()
- Method in interface javax.security.sasl.
SaslClient
Disposes of any system resources or security-sensitive information the SaslClient might be using.
dispose()
- Method in interface javax.security.sasl.
SaslServer
Disposes of any system resources or security-sensitive information the SaslServer might be using.
E
evaluateChallenge(byte[])
- Method in interface javax.security.sasl.
SaslClient
Evaluates the challenge data and generates a response.
evaluateResponse(byte[])
- Method in interface javax.security.sasl.
SaslServer
Evaluates the response data and generates a challenge.
G
getAuthenticationID()
- Method in class javax.security.sasl.
AuthorizeCallback
Returns the authentication id to check.
getAuthorizationID()
- Method in class javax.security.sasl.
AuthorizeCallback
Returns the authorization id to check.
getAuthorizationID()
- Method in interface javax.security.sasl.
SaslServer
Reports the authorization ID in effect for the client of this session.
getAuthorizedID()
- Method in class javax.security.sasl.
AuthorizeCallback
Returns the id of the authorized user.
getCause()
- Method in class javax.security.sasl.
SaslException
Returns the cause of this throwable or
null
if the cause is nonexistent or unknown.
getMechanismName()
- Method in interface javax.security.sasl.
SaslClient
Returns the IANA-registered mechanism name of this SASL client.
getMechanismName()
- Method in interface javax.security.sasl.
SaslServer
Returns the IANA-registered mechanism name of this SASL server.
getMechanismNames(Hashtable)
- Method in interface javax.security.sasl.
SaslClientFactory
Returns an array of names of mechanisms that match the specified mechanism selection policies.
getMechanismNames(Hashtable)
- Method in interface javax.security.sasl.
SaslServerFactory
Returns an array of names of mechanisms that match the specified mechanism selection policies.
getNegotiatedProperty(String)
- Method in interface javax.security.sasl.
SaslClient
Retrieves the negotiated property.
getNegotiatedProperty(String)
- Method in interface javax.security.sasl.
SaslServer
Retrieves the negotiated property.
getSaslClientFactories(Hashtable)
- Static method in class javax.security.sasl.
Sasl
Gets an enumeration of known factories for producing
SaslClient
.
getSaslServerFactories(Hashtable)
- Static method in class javax.security.sasl.
Sasl
Gets an enumeration of known factories for producing
SaslServer
.
H
hasInitialResponse()
- Method in interface javax.security.sasl.
SaslClient
Determines whether this mechanism has an optional initial response.
I
isAuthorized()
- Method in class javax.security.sasl.
AuthorizeCallback
Determines whether the authentication id is allowed to act on behalf of the authorization id.
isComplete()
- Method in interface javax.security.sasl.
SaslClient
Determines whether the authentication exchange has completed.
isComplete()
- Method in interface javax.security.sasl.
SaslServer
Determines whether the authentication exchange has completed.
M
MAX_BUFFER
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies the maximum size of the receive buffer in bytes of
SaslClient
/
SaslServer
.
P
POLICY_FORWARD_SECRECY
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms that implement forward secrecy between sessions are required.
POLICY_NOACTIVE
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms susceptible to active (non-dictionary) attacks are not permitted.
POLICY_NOANONYMOUS
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms that accept anonymous login are not permitted.
POLICY_NODICTIONARY
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms susceptible to passive dictionary attacks are not permitted.
POLICY_NOPLAINTEXT
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms susceptible to simple plain passive attacks (e.g., "PLAIN") are not permitted.
POLICY_PASS_CREDENTIALS
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether mechanisms that pass client credentials are required.
printStackTrace()
- Method in class javax.security.sasl.
SaslException
Prints this exception's stack trace to
System.err
.
printStackTrace(PrintStream)
- Method in class javax.security.sasl.
SaslException
Prints this exception's stack trace to a print stream.
printStackTrace(PrintWriter)
- Method in class javax.security.sasl.
SaslException
Prints this exception's stack trace to a print writer.
Q
QOP
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies the quality-of-protection to use.
R
RAW_SEND_SIZE
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies the maximum size of the raw send buffer in bytes of
SaslClient
/
SaslServer
.
RealmCallback
- class javax.security.sasl.
RealmCallback
.
This callback is used by
SaslClient
and
SaslServer
to retrieve realm information.
RealmCallback(String)
- Constructor for class javax.security.sasl.
RealmCallback
Constructs a
RealmCallback
with a prompt.
RealmCallback(String, String)
- Constructor for class javax.security.sasl.
RealmCallback
Constructs a
RealmCallback
with a prompt and default realm information.
RealmChoiceCallback
- class javax.security.sasl.
RealmChoiceCallback
.
This callback is used by
SaslClient
and
SaslServer
to obtain a realm given a list of realm choices.
RealmChoiceCallback(String, String[], int, boolean)
- Constructor for class javax.security.sasl.
RealmChoiceCallback
Constructs a
RealmChoiceCallback
with a prompt, a list of choices and a default choice.
S
Sasl
- class javax.security.sasl.
Sasl
.
A static class for creating SASL clients and servers.
SaslClient
- interface javax.security.sasl.
SaslClient
.
Performs SASL authentication as a client.
SaslClientFactory
- interface javax.security.sasl.
SaslClientFactory
.
An interface for creating instances of
SaslClient
.
SaslException
- exception javax.security.sasl.
SaslException
.
This class represents an error that has occurred when using SASL.
SaslException()
- Constructor for class javax.security.sasl.
SaslException
Constructs a new instance of
SaslException
.
SaslException(String)
- Constructor for class javax.security.sasl.
SaslException
Constructs a new instance of
SaslException
with a detailed message.
SaslException(String, Throwable)
- Constructor for class javax.security.sasl.
SaslException
Constructs a new instance of
SaslException
with a detailed message and a root exception.
SaslServer
- interface javax.security.sasl.
SaslServer
.
Performs SASL authentication as a server.
SaslServerFactory
- interface javax.security.sasl.
SaslServerFactory
.
An interface for creating instances of
SaslServer
.
SERVER_AUTH
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies whether the server must authenticate to the client.
SERVER_PKGS
- Static variable in class javax.security.sasl.
Sasl
The name of the property that specifies the
SaslServerFactory
s to use.
setAuthorized(boolean)
- Method in class javax.security.sasl.
AuthorizeCallback
Sets whether the authorization is allowed.
setAuthorizedID(String)
- Method in class javax.security.sasl.
AuthorizeCallback
Sets the id of the authorized entity.
setSaslClientFactory(SaslClientFactory)
- Static method in class javax.security.sasl.
Sasl
Sets the default
SaslClientFactory
to use.
setSaslServerFactory(SaslServerFactory)
- Static method in class javax.security.sasl.
Sasl
Sets the default
SaslServerFactory
to use.
STRENGTH
- Static variable in class javax.security.sasl.
Sasl
The name of a property that specifies the cipher strength to use.
T
toString()
- Method in class javax.security.sasl.
SaslException
Returns the string representation of this exception.
U
unwrap(byte[], int, int)
- Method in interface javax.security.sasl.
SaslClient
Unwraps a byte array received from the server.
unwrap(byte[], int, int)
- Method in interface javax.security.sasl.
SaslServer
Unwraps a byte array received from the client.
W
wrap(byte[], int, int)
- Method in interface javax.security.sasl.
SaslClient
Wraps a byte array to be sent to the server.
wrap(byte[], int, int)
- Method in interface javax.security.sasl.
SaslServer
Wraps a byte array to be sent to the client.
A
C
D
E
G
H
I
M
P
Q
R
S
T
U
W
Overview
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES