javax.security.sasl

Class AuthenticationException

  • All Implemented Interfaces:
    Serializable

    public class AuthenticationException
    extends SaslException
    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. A SASL mechanism implementation might throw the more general SaslException instead of AuthenticationException if it is unable to determine the nature of the failure, or if does not want to disclose the nature of the failure, for example, due to security reasons.

    Since:
    1.5
    See Also:
    Serialized Form
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException()
        Constructs a new instance of AuthenticationException. The root exception and the detailed message are null.
      • AuthenticationException

        public AuthenticationException(String detail)
        Constructs a new instance of AuthenticationException with a detailed message. The root exception is null.
        Parameters:
        detail - A possibly null string containing details of the exception.
        See Also:
        Throwable.getMessage()
      • AuthenticationException

        public AuthenticationException(String detail,
                               Throwable ex)
        Constructs a new instance of AuthenticationException with a detailed message and a root exception.
        Parameters:
        detail - A possibly null string containing details of the exception.
        ex - A possibly null root exception that caused this exception.
        See Also:
        Throwable.getMessage(), SaslException.getCause()

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 01/09/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/security/sasl/authenticationexception.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, AuthenticationException

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut