Uses of Class javax.security.sasl.SaslException

Uses in package gnu.javax.crypto.sasl.plain

Methods which throw type javax.security.sasl.SaslException

byte[]
PlainClient.evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response.
byte[]
PlainServer.evaluateResponse(byte[] response)
Evaluates the response data and generates a challenge.
void
void
void
void

Uses in package gnu.javax.crypto.sasl

Classes derived from javax.security.sasl.SaslException

class
Used by mechanisms that offer a security services layer, this checked exception is thrown to indicate that a violation has occured during the processing of a confidentiality protection filter.
class
A checked exception thrown to indicate that an operation that should be invoked on a completed mechanism was invoked but the authentication phase of that mechanism was not completed yet, or that an operation that should be invoked on incomplete mechanisms was invoked but the authentication phase of that mechanism was already completed.
class
Used by mechanisms that offer a security services layer, this checked exception is thrown to indicate that a violation has occured during the processing of an integrity protection filter, including replay detection.
class
A checked exception thrown to indicate that a designated SASL mechanism implementation was not found.
class
A checked exception thrown to indicate that a designated user is unknown to the authentication layer.
class
A checked exception, thrown when an exception occurs while decoding a SASL buffer and/or a SASL data element from/to a buffer.
class
A checked exception thrown to indicate that a designated user is already known to the the authentication layer.

Methods which throw type javax.security.sasl.SaslException

SaslClient
ClientFactory.createSaslClient(String[] mechanisms, String authorisationID, String protocol, String serverName, Map<K,V> props, CallbackHandler cbh)
SaslServer
ServerFactory.createSaslServer(String mechanism, String protocol, String serverName, Map<K,V> props, CallbackHandler cbh)
void
void
Disposes of any system resources or security-sensitive information the SaslServer might be using.
byte[]
ClientMechanism.engineUnwrap(byte[] incoming, int offset, int len)
byte[]
ServerMechanism.engineUnwrap(byte[] incoming, int offset, int len)
byte[]
ClientMechanism.engineWrap(byte[] outgoing, int offset, int len)
byte[]
ServerMechanism.engineWrap(byte[] outgoing, int offset, int len)
byte[]
byte[]
Evaluates the response data and generates a challenge.
void
Initialises the mechanism with designated attributes.
void
Initialises the mechanism with designated attributes.
void
void
void
Resets the mechanism instance for re-initialisation and use with other characteristics.
void
Resets the mechanism instance for re-initialisation and use with other characteristics.
void
void
byte[]
ClientMechanism.unwrap(byte[] incoming, int offset, int len)
byte[]
ServerMechanism.unwrap(byte[] incoming, int offset, int len)
Unwraps a byte array received from the client.
byte[]
ClientMechanism.wrap(byte[] outgoing, int offset, int len)
byte[]
ServerMechanism.wrap(byte[] outgoing, int offset, int len)
Wraps a byte array to be sent to the client.

Uses in package javax.security.sasl

Classes derived from javax.security.sasl.SaslException

class
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.

Methods which throw type javax.security.sasl.SaslException

SaslClient
Sasl.createSaslClient(String[] mechanisms, String authorizationID, String protocol, String serverName, Map props, CallbackHandler cbh)
Creates a SaslClient for the specified mechanism.
SaslClient
SaslClientFactory.createSaslClient(String[] mechanisms, String authorizationID, String protocol, String serverName, Map props, CallbackHandler cbh)
Creates a SaslClient using the parameters supplied.
SaslServer
Sasl.createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh)
Creates a SaslServer for the specified mechanism.
SaslServer
SaslServerFactory.createSaslServer(String mechanism, String protocol, String serverName, Map props, CallbackHandler cbh)
Creates a SaslServer instance using the parameters supplied.
void
Disposes of any system resources or security-sensitive information the SaslClient might be using.
void
Disposes of any system resources or security-sensitive information the SaslServer might be using.
byte[]
SaslClient.evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response.
byte[]
SaslServer.evaluateResponse(byte[] response)
Evaluates the response data and generates a challenge.
byte[]
SaslClient.unwrap(byte[] incoming, int offset, int len)
Unwraps a byte array received from the server.
byte[]
SaslServer.unwrap(byte[] incoming, int offset, int len)
Unwraps a byte array received from the client.
byte[]
SaslClient.wrap(byte[] outgoing, int offset, int len)
Wraps a byte array to be sent to the server.
byte[]
SaslServer.wrap(byte[] outgoing, int offset, int len)
Wraps a byte array to be sent to the client.

Uses in package gnu.javax.crypto.sasl.anonymous

Methods which throw type javax.security.sasl.SaslException

byte[]
Evaluates the challenge data and generates a response.
byte[]
Evaluates the response data and generates a challenge.
void
void
void
void

Uses in package gnu.javax.crypto.sasl.crammd5

Methods which throw type javax.security.sasl.SaslException

byte[]
CramMD5Client.evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response.
byte[]
Evaluates the response data and generates a challenge.
void
void
void
void

Uses in package gnu.javax.crypto.sasl.srp

Methods which throw type javax.security.sasl.SaslException

byte[]
SRPClient.engineUnwrap(byte[] incoming, int offset, int len)
byte[]
SRPServer.engineUnwrap(byte[] incoming, int offset, int len)
byte[]
SRPClient.engineWrap(byte[] outgoing, int offset, int len)
byte[]
SRPServer.engineWrap(byte[] outgoing, int offset, int len)
byte[]
SRPClient.evaluateChallenge(byte[] challenge)
Evaluates the challenge data and generates a response.
byte[]
SRPServer.evaluateResponse(byte[] response)
Evaluates the response data and generates a challenge.
void
IALG.init(KDF kdf)
void
CALG.init(KDF kdf, byte[] iv, Direction dir)
Initialises a SASL-SRP CALG implementation.
void
void
void
void