Class Statement

java.lang.Object
com.sun.identity.saml.assertion.Statement
Direct Known Subclasses:
SubjectStatement

@SupportedAll public abstract class Statement extends Object
The Statement element is an extension point that allows other assertion-based applications to reuse the SAML assertion framework. Its StatementAbstractType complex type is abstract; extension elements must use xsi:type attribute to indicate the derived type.
  • Field Details

    • NOT_SUPPORTED

      public static final int NOT_SUPPORTED
      The Statement is not supported.
      See Also:
    • AUTHENTICATION_STATEMENT

      public static final int AUTHENTICATION_STATEMENT
      The Statement is an Authentication Statement.
      See Also:
    • AUTHORIZATION_DECISION_STATEMENT

      public static final int AUTHORIZATION_DECISION_STATEMENT
      The Statement is an Authorization Decision Statement.
      See Also:
    • ATTRIBUTE_STATEMENT

      public static final int ATTRIBUTE_STATEMENT
      The Statement is an Attribute Statement.
      See Also:
  • Constructor Details

    • Statement

      protected Statement()
      Default constructor of the statement
  • Method Details

    • getStatementType

      public abstract int getStatementType()
      Returns the real of statement such as AuthenticationStatement, AuthorizationDecisionStatement or AttributeStatement.
      Returns:
      real type of Statement.
    • toString

      public abstract String toString(boolean includeNS, boolean declareNS)
      Creates a String representation of the Statement
      Parameters:
      includeNS - : Determines whether or not the namespace qualifier is prepended to the Element when converted
      declareNS - : Determines whether or not the namespace is declared within the Element.
      Returns:
      A String representation of the Statement element