public class AssertionException extends JpsLocalizableException
| Constructor and Description |
|---|
AssertionException(JpsBundleType bundleType, java.lang.String errorCode, java.lang.Object[] parameters, java.lang.String username)
Constructs a new exception with the specified resource bundle type, error code message parameters and user name failed to be asserted.
|
AssertionException(JpsBundleType bundleType, java.lang.String errorCode, java.lang.String username)
Constructs a new exception with the specified resource bundle type, error code and user name failed to be asserted.
|
AssertionException(java.lang.String msg, java.lang.String username)
Constructs a new exception with the specified detail message and user name failed to be asserted.
|
AssertionException(java.lang.Throwable cause, oracle.security.xmlsec.saml.Assertion assertion)
Constructs a new exception with the specified cause and SAML assertion failed to be asserted.
|
AssertionException(java.lang.Throwable cause, java.lang.String username)
Constructs a new exception with the specified cause and user name failed to be asserted.
|
AssertionException(java.lang.Throwable cause, java.security.cert.X509Certificate cert)
Constructs a new exception with the specified cause and certificate token failed to be asserted.
|
AssertionException(java.security.cert.X509Certificate cert)
Constructs a new exception with the certificate failed to be asserted.
|
| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate |
getAssertedCertificate()
Returns the certificate failed to be asserted.
|
java.lang.String |
getAssertedUsername()
Returns the user name failed to be asserted.
|
oracle.security.xmlsec.saml.Assertion |
getAssertion()
Returns the SAML assertion failed to be asserted.
|
getBundleType, getErrorCode, getLocalizedMessage, getLocalizedMessage, getMessage, getParameters
public AssertionException(java.lang.Throwable cause,
java.lang.String username)
cause - the causeusername - the user name failed to be asserted
public AssertionException(java.lang.String msg,
java.lang.String username)
msg - the detail messageusername - the user name failed to be assertedpublic AssertionException(java.security.cert.X509Certificate cert)
cert - the certificate token failed to be asserted
public AssertionException(java.lang.Throwable cause,
java.security.cert.X509Certificate cert)
cause - the causecert - the certificate token failed to be asserted
public AssertionException(java.lang.Throwable cause,
oracle.security.xmlsec.saml.Assertion assertion)
cause - the causeassertion - the SAML assertion failed to be assertedpublic AssertionException(JpsBundleType bundleType, java.lang.String errorCode, java.lang.String username)
bundleType - the resource bundle typeerrorCode - the error codeusername - the user name failed to be assertedpublic AssertionException(JpsBundleType bundleType, java.lang.String errorCode, java.lang.Object[] parameters, java.lang.String username)
bundleType - the resource bundle typeerrorCode - the error codeparameters - the message parametersusername - the user name failed to be assertedpublic java.security.cert.X509Certificate getAssertedCertificate()
public java.lang.String getAssertedUsername()
public oracle.security.xmlsec.saml.Assertion getAssertion()