Interface AttributeStatement

All Superinterfaces:
Statement, XmlSerializable

@SupportedAll 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 Details

    • getAttribute

      List<Attribute> getAttribute()
      Returns Attribute(s) of the statement.
      Returns:
      List of Attribute(s) in the statement.
      See Also:
    • setAttribute

      void setAttribute(List<Attribute> value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets Attribute(s) of the statement.
      Parameters:
      value - List of new Attribute(s).
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also:
    • getEncryptedAttribute

      List<EncryptedAttribute> getEncryptedAttribute()
      Returns EncryptedAttribute(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
      Sets EncryptedAttribute(s) of the statement.
      Parameters:
      value - List of new EncryptedAttribute(s).
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable.
      See Also: