public class Saml2AuthenticationException extends AuthenticationException
Authentication
errors.
There are a number of scenarios where an error may occur, for example:
Constructor and Description |
---|
Saml2AuthenticationException(Saml2Error error)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error)
Deprecated.
Use
Saml2Error
constructor instead |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message)
Deprecated.
Use
Saml2Error constructor instead |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message,
java.lang.Throwable cause)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.String message,
java.lang.Throwable cause)
Deprecated.
Use
Saml2Error
constructor instead |
Saml2AuthenticationException(Saml2Error error,
java.lang.Throwable cause)
Constructs a
Saml2AuthenticationException using the provided parameters. |
Saml2AuthenticationException(Saml2Error error,
java.lang.Throwable cause)
Deprecated.
Use
Saml2Error
constructor instead |
Modifier and Type | Method and Description |
---|---|
Saml2Error |
getError()
Deprecated.
Use
getSaml2Error() instead |
Saml2Error |
getSaml2Error()
Get the associated
Saml2Error |
java.lang.String |
toString() |
public Saml2AuthenticationException(Saml2Error error)
Saml2AuthenticationException
using the provided parameters.error
- the SAML 2.0 Error
public Saml2AuthenticationException(Saml2Error error, java.lang.Throwable cause)
Saml2AuthenticationException
using the provided parameters.error
- the SAML 2.0 Error
cause
- the root causepublic Saml2AuthenticationException(Saml2Error error, java.lang.String message)
Saml2AuthenticationException
using the provided parameters.error
- the SAML 2.0 Error
message
- the detail messagepublic Saml2AuthenticationException(Saml2Error error, java.lang.String message, java.lang.Throwable cause)
Saml2AuthenticationException
using the provided parameters.error
- the SAML 2.0 Error
message
- the detail messagecause
- the root cause@Deprecated public Saml2AuthenticationException(Saml2Error error)
Saml2Error
constructor insteadSaml2AuthenticationException
using the provided parameters.error
- the
SAML 2.0 Error
@Deprecated public Saml2AuthenticationException(Saml2Error error, java.lang.Throwable cause)
Saml2Error
constructor insteadSaml2AuthenticationException
using the provided parameters.error
- the
SAML 2.0 Error
cause
- the root cause@Deprecated public Saml2AuthenticationException(Saml2Error error, java.lang.String message)
Saml2Error
constructor insteadSaml2AuthenticationException
using the provided parameters.error
- the SAML 2.0 Error
message
- the detail message@Deprecated public Saml2AuthenticationException(Saml2Error error, java.lang.String message, java.lang.Throwable cause)
Saml2Error
constructor insteadSaml2AuthenticationException
using the provided parameters.error
- the
SAML 2.0 Error
message
- the detail messagecause
- the root causepublic Saml2Error getSaml2Error()
Saml2Error
Saml2Error
@Deprecated public Saml2Error getError()
getSaml2Error()
insteadSAML 2.0 Error
.Saml2Error
public java.lang.String toString()
toString
in class java.lang.Throwable