public interface AttributeStatement extends Statement
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>
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttribute()
Returns
Attribute (s) of the statement. |
List<EncryptedAttribute> |
getEncryptedAttribute()
Returns
EncryptedAttribute (s) of the statement. |
void |
setAttribute(List<Attribute> value)
Sets
Attribute (s) of the statement. |
void |
setEncryptedAttribute(List<EncryptedAttribute> value)
Sets
EncryptedAttribute (s) of the statement. |
isMutable, makeImmutable, toXMLString, toXMLString
List<Attribute> getAttribute()
Attribute
(s) of the statement.Attribute
(s) in the statement.AttributeStatement.setAttribute(List)
void setAttribute(List<Attribute> value) throws SAML2Exception
Attribute
(s) of the statement.value
- List of new Attribute
(s).SAML2Exception
- if the object is immutable.AttributeStatement.getAttribute()
List<EncryptedAttribute> getEncryptedAttribute()
EncryptedAttribute
(s) of the statement.EncryptedAttribute
(s) in the statement.AttributeStatement.setEncryptedAttribute(List)
void setEncryptedAttribute(List<EncryptedAttribute> value) throws SAML2Exception
EncryptedAttribute
(s) of the statement.value
- List of new EncryptedAttribute
(s).SAML2Exception
- if the object is immutable.AttributeStatement.getEncryptedAttribute()
Copyright © 2010-2018, ForgeRock All Rights Reserved.