Class Saml2Error

  • All Implemented Interfaces:

    public class Saml2Error
    extends java.lang.Object
    A representation of an SAML 2.0 Error.

    At a minimum, an error response will contain an error code. The commonly used error code are defined in this class or a new codes can be defined in the future as arbitrary strings.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructor Description
      Saml2Error​(java.lang.String errorCode, java.lang.String description)
      Constructs a Saml2Error using the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns the error description.
      java.lang.String getErrorCode()
      Returns the error code.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Saml2Error

        public Saml2Error​(java.lang.String errorCode,
                          java.lang.String description)
        Constructs a Saml2Error using the provided parameters.
        errorCode - the error code
        description - the error description
    • Method Detail

      • getErrorCode

        public final java.lang.String getErrorCode()
        Returns the error code.
        the error code
      • getDescription

        public final java.lang.String getDescription()
        Returns the error description.
        the error description
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object