Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


oracle.security.jps.jaas
Class AssertionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.security.jps.JpsLocalizableException
              extended by oracle.security.jps.jaas.AssertionException

All Implemented Interfaces:
java.io.Serializable, Localizable

public class AssertionException
extends JpsLocalizableException

This exception is thrown when a user or tokean failed to be asserted.

See Also:
Serialized Form

Constructor Summary
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.

 

Method Summary
 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.

 

Methods inherited from class oracle.security.jps.JpsLocalizableException
getBundleType, getErrorCode, getLocalizedMessage, getLocalizedMessage, getMessage, getParameters

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

AssertionException

public AssertionException(java.lang.Throwable cause,
                          java.lang.String username)
Constructs a new exception with the specified cause and user name failed to be asserted.
Parameters:
cause - the cause
username - the user name failed to be asserted

AssertionException

public 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.
Parameters:
msg - the detail message
username - the user name failed to be asserted

AssertionException

public AssertionException(java.security.cert.X509Certificate cert)
Constructs a new exception with the certificate failed to be asserted.
Parameters:
cert - the certificate token failed to be asserted

AssertionException

public 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.
Parameters:
cause - the cause
cert - the certificate token failed to be asserted

AssertionException

public 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.
Parameters:
cause - the cause
assertion - the SAML assertion failed to be asserted

AssertionException

public 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.
Parameters:
bundleType - the resource bundle type
errorCode - the error code
username - the user name failed to be asserted

AssertionException

public 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.
Parameters:
bundleType - the resource bundle type
errorCode - the error code
parameters - the message parameters
username - the user name failed to be asserted

Method Detail

getAssertedCertificate

public java.security.cert.X509Certificate getAssertedCertificate()
Returns the certificate failed to be asserted.
Returns:
the certificate failed to be asserted

getAssertedUsername

public java.lang.String getAssertedUsername()
Returns the user name failed to be asserted.
Returns:
the user name failed to be asserted

getAssertion

public oracle.security.xmlsec.saml.Assertion getAssertion()
Returns the SAML assertion failed to be asserted.
Returns:
the SAML assertion failed to be asserted

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-06


Copyright © 2013 Oracle. All rights reserved.