Package com.sun.identity.saml2.assertion
Interface AttributeStatement
-
- All Superinterfaces:
Statement
,XmlSerializable
@SupportedAll public interface AttributeStatement extends Statement
TheAttributeStatement
element describes a statement by the SAML authority asserting that the assertion subject is associated with the specified attributes. It is of typeAttributeStatementType
.<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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Attribute>
getAttribute()
ReturnsAttribute
(s) of the statement.List<EncryptedAttribute>
getEncryptedAttribute()
ReturnsEncryptedAttribute
(s) of the statement.void
setAttribute(List<Attribute> value)
SetsAttribute
(s) of the statement.void
setEncryptedAttribute(List<EncryptedAttribute> value)
SetsEncryptedAttribute
(s) of the statement.-
Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable
-
Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
-
-
-
Method Detail
-
getAttribute
List<Attribute> getAttribute()
ReturnsAttribute
(s) of the statement.- Returns:
- List of
Attribute
(s) in the statement. - See Also:
setAttribute(List)
-
setAttribute
void setAttribute(List<Attribute> value) throws SAML2Exception
SetsAttribute
(s) of the statement.- Parameters:
value
- List of newAttribute
(s).- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getAttribute()
-
getEncryptedAttribute
List<EncryptedAttribute> getEncryptedAttribute()
ReturnsEncryptedAttribute
(s) of the statement.- Returns:
- List of
EncryptedAttribute
(s) in the statement. - See Also:
setEncryptedAttribute(List)
-
setEncryptedAttribute
void setEncryptedAttribute(List<EncryptedAttribute> value) throws SAML2Exception
SetsEncryptedAttribute
(s) of the statement.- Parameters:
value
- List of newEncryptedAttribute
(s).- Throws:
SAML2Exception
- if the object is immutable.- See Also:
getEncryptedAttribute()
-
-