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
 java.util.List getAttribute()
          Returns Attribute(s) of the statement.
 java.util.List getEncryptedAttribute()
          Returns EncryptedAttribute(s) of the statement.
 void setAttribute(java.util.List value)
          Sets Attribute(s) of the statement.
 void setEncryptedAttribute(java.util.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

public java.util.List getAttribute()
Returns Attribute(s) of the statement.

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

setAttribute

public void setAttribute(java.util.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:
getAttribute()

getEncryptedAttribute

public java.util.List getEncryptedAttribute()
Returns EncryptedAttribute(s) of the statement.

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

setEncryptedAttribute

public void setEncryptedAttribute(java.util.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:
getEncryptedAttribute()


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.