|
|||||||||
| Home >> All >> javax >> security >> [ sasl overview ] | PREV NEXT | ||||||||
Uses of Class
javax.security.sasl.SaslException
| Uses of SaslException in javax.security.sasl |
| Subclasses of SaslException in javax.security.sasl | |
class |
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. |
| Methods in javax.security.sasl that throw SaslException | |
java.security.spec.AlgorithmParameterSpec |
SaslClientExt.getSaslSecurityContext()
Retrieves the SASL Security Context of this SASL mechanism object. |
void |
SaslClientExt.setSaslSecurityContext(java.security.spec.AlgorithmParameterSpec ctx)
Sets the SASL Security Context of this SASL mechanism object to the designated value. |
byte[] |
SaslClientExt.evaluateEvidence(byte[] peerEvidence)
Given the SASL mechanism peer's evidence, which may be null, this method is for SASL mechanisms capable of using the designated evidence to update or recycle their cryptographic data, so security services can still be provided, in a secure fashion, without the need to go through the authentication phase again. |
java.security.spec.AlgorithmParameterSpec |
SaslServerExt.getSaslSecurityContext()
Retrieves the SASL Security Context of this SASL mechanism object. |
void |
SaslServerExt.setSaslSecurityContext(java.security.spec.AlgorithmParameterSpec ctx)
Sets the SASL Security Context of this SASL mechanism object to the designated value. |
byte[] |
SaslServerExt.evaluateEvidence(byte[] peerEvidence)
Given the SASL mechanism peer's evidence, which may be null, this method is for SASL mechanisms capable of using the designated evidence to update or recycle their cryptographic data, so security services can still be provided, in a secure fashion, without the need to go through the authentication phase again. |
SaslServer |
SaslServerFactory.createSaslServer(java.lang.String mechanism,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
Creates a SaslServer instance using the parameters supplied. |
byte[] |
SaslServer.evaluateResponse(byte[] response)
Evaluates the response data and generates a challenge. |
byte[] |
SaslServer.unwrap(byte[] incoming,
int offset,
int len)
Unwraps a byte array received from the client. |
byte[] |
SaslServer.wrap(byte[] outgoing,
int offset,
int len)
Wraps a byte array to be sent to the client. |
void |
SaslServer.dispose()
Disposes of any system resources or security-sensitive information the SaslServer might be using. |
SaslClient |
SaslClientFactory.createSaslClient(java.lang.String[] mechanisms,
java.lang.String authorizationID,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
Creates a SaslClient using the parameters supplied. |
byte[] |
SaslClient.evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response. |
byte[] |
SaslClient.unwrap(byte[] incoming,
int offset,
int len)
Unwraps a byte array received from the server. |
byte[] |
SaslClient.wrap(byte[] outgoing,
int offset,
int len)
Wraps a byte array to be sent to the server. |
void |
SaslClient.dispose()
Disposes of any system resources or security-sensitive information the SaslClient might be using. |
static SaslClient |
Sasl.createSaslClient(java.lang.String[] mechanisms,
java.lang.String authorizationID,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
Creates a SaslClient for the specified mechanism. |
static SaslServer |
Sasl.createSaslServer(java.lang.String mechanism,
java.lang.String protocol,
java.lang.String serverName,
java.util.Map props,
javax.security.auth.callback.CallbackHandler cbh)
Creates a SaslServer for the specified mechanism. |
|
|||||||||
| Home >> All >> javax >> security >> [ sasl overview ] | PREV NEXT | ||||||||