public abstract class SubjectStatement extends Statement
SubjectStatement
element is an extension
point that allows other assertion-based applications to reuse the SAML
assertion framework. It contains a Subject
element
that allows issuer to describe a subject. Its
SubjectStatementAbstractType
complex type is abstract;
extension elements must use xsi:type
attribute to indicate
the derived type.Modifier | Constructor and Description |
---|---|
protected |
SubjectStatement()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
Subject |
getSubject()
Returns the Subject within the
SubjectStatement . |
boolean |
setSubject(Subject subject)
Set the Subject for the
SubjectStatement . |
abstract String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the
SubjectStatement . |
getStatementType
public Subject getSubject()
SubjectStatement
.public boolean setSubject(Subject subject)
SubjectStatement
.subject
- A Subject object.public abstract String toString(boolean includeNS, boolean declareNS)
SubjectStatement
.toString
in class Statement
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.<saml:SubjectStatement>
element.Copyright © 2010-2018, ForgeRock All Rights Reserved.