com.sun.identity.saml2.assertion
Interface AttributeStatement

All Superinterfaces:
Statement

public interface AttributeStatement
extends Statement

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
 List getAttribute()
          Returns Attribute(s) of the statement.
 List getEncryptedAttribute()
          Returns EncryptedAttribute(s) of the statement.
 void setAttribute(List value)
          Sets Attribute(s) of the statement.
 void setEncryptedAttribute(List value)
          Sets EncryptedAttribute(s) of the statement.
 
Methods inherited from interface com.sun.identity.saml2.assertion.Statement
isMutable, makeImmutable, toXMLString, toXMLString
 

Method Detail

getAttribute

List getAttribute()
Returns Attribute(s) of the statement.

Returns:
List of Attribute(s) in the statement.
See Also:
AttributeStatement.setAttribute(List)

setAttribute

void setAttribute(List value)
                  throws SAML2Exception
Sets Attribute(s) of the statement.

Parameters:
value - List of new Attribute(s).
Throws:
SAML2Exception - if the object is immutable.
See Also:
AttributeStatement.getAttribute()

getEncryptedAttribute

List getEncryptedAttribute()
Returns EncryptedAttribute(s) of the statement.

Returns:
List of EncryptedAttribute(s) in the statement.
See Also:
AttributeStatement.setEncryptedAttribute(List)

setEncryptedAttribute

void setEncryptedAttribute(List value)
                           throws SAML2Exception
Sets EncryptedAttribute(s) of the statement.

Parameters:
value - List of new EncryptedAttribute(s).
Throws:
SAML2Exception - if the object is immutable.
See Also:
AttributeStatement.getEncryptedAttribute()