Package com.sun.identity.saml2.assertion
Interface AttributeStatement
- All Superinterfaces:
Statement,XmlSerializable
The
AttributeStatement element describes a statement by
the SAML authority asserting that the assertion subject is associated with
the specified attributes. It is of type AttributeStatementType.
<complexType name="AttributeStatementType">
<complexContent>
<extension base="{urn:oasis:names:tc:SAML:2.0:assertion}
StatementAbstractType">
<choice maxOccurs="unbounded">
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Attribute"/>
<element ref="{urn:oasis:names:tc:SAML:2.0:assertion}
EncryptedAttribute"/>
</choice>
</extension>
</complexContent>
</complexType>
-
Method Summary
Modifier and TypeMethodDescriptionReturnsAttribute(s) of the statement.ReturnsEncryptedAttribute(s) of the statement.voidsetAttribute(List<Attribute> value) SetsAttribute(s) of the statement.voidSetsEncryptedAttribute(s) of the statement.Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutableMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
getAttribute
ReturnsAttribute(s) of the statement.- Returns:
- List of
Attribute(s) in the statement. - See Also:
-
setAttribute
SetsAttribute(s) of the statement.- Parameters:
value- List of newAttribute(s).- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-
getEncryptedAttribute
List<EncryptedAttribute> getEncryptedAttribute()ReturnsEncryptedAttribute(s) of the statement.- Returns:
- List of
EncryptedAttribute(s) in the statement. - See Also:
-
setEncryptedAttribute
void setEncryptedAttribute(List<EncryptedAttribute> value) throws com.sun.identity.saml2.common.SAML2Exception SetsEncryptedAttribute(s) of the statement.- Parameters:
value- List of newEncryptedAttribute(s).- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-