Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.security.sasl.SaslException

Packages that use SaslException
Package Description
javax.security.sasl Contains class and interfaces for supporting SASL. 
 

Uses of SaslException in javax.security.sasl
 

Subclasses of SaslException in javax.security.sasl
Modifier and Type Class and Description
 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
Modifier and Type Method and Description
 SaslClient SaslClientFactory.createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
          Creates a SaslClient using the parameters supplied.
static SaslClient Sasl.createSaslClient(String[] mechanisms, String authorizationId, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
          Creates a SaslClient using the parameters supplied.
 SaslServer SaslServerFactory.createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
          Creates a SaslServer using the parameters supplied.
static SaslServer Sasl.createSaslServer(String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh)
          Creates a SaslServer for the specified mechanism.
 void SaslServer.dispose()
          Disposes of any system resources or security-sensitive information the SaslServer might be using.
 void SaslClient.dispose()
          Disposes of any system resources or security-sensitive information the SaslClient 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[] SaslServer.unwrap(byte[] incoming, int offset, int len)
          Unwraps a byte array received from the client.
 byte[] SaslClient.unwrap(byte[] incoming, int offset, int len)
          Unwraps a byte array received from the server.
 byte[] SaslServer.wrap(byte[] outgoing, int offset, int len)
          Wraps a byte array to be sent to the client.
 byte[] SaslClient.wrap(byte[] outgoing, int offset, int len)
          Wraps a byte array to be sent to the server.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

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, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.