Package com.sun.identity.saml.assertion
Class Statement
java.lang.Object
com.sun.identity.saml.assertion.Statement
- Direct Known Subclasses:
SubjectStatement
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 Summary
Modifier and TypeFieldDescriptionstatic final int
The Statement is an Attribute Statement.static final int
The Statement is an Authentication Statement.static final int
The Statement is an Authorization Decision Statement.static final int
The Statement is not supported. -
Constructor Summary
-
Method Summary
-
Field Details
-
NOT_SUPPORTED
public static final int NOT_SUPPORTEDThe Statement is not supported.- See Also:
-
AUTHENTICATION_STATEMENT
public static final int AUTHENTICATION_STATEMENTThe Statement is an Authentication Statement.- See Also:
-
AUTHORIZATION_DECISION_STATEMENT
public static final int AUTHORIZATION_DECISION_STATEMENTThe Statement is an Authorization Decision Statement.- See Also:
-
ATTRIBUTE_STATEMENT
public static final int ATTRIBUTE_STATEMENTThe 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 asAuthenticationStatement
,AuthorizationDecisionStatement
orAttributeStatement
.- Returns:
- real type of Statement.
-
toString
Creates a String representation of the Statement- Parameters:
includeNS
- : Determines whether or not the namespace qualifier is prepended to the Element when converteddeclareNS
- : Determines whether or not the namespace is declared within the Element.- Returns:
- A String representation of the
Statement
element
-