Class AttributeStatementImpl

  • All Implemented Interfaces:
    AttributeStatement, Statement

    public class AttributeStatementImpl
    extends Object
    implements AttributeStatement
    This is a default implementation of AttributeStatement. 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>
     
    • Constructor Detail

      • AttributeStatementImpl

        public AttributeStatementImpl()
        Class constructor. Caller may need to call setters to populate the object.
      • AttributeStatementImpl

        public AttributeStatementImpl​(Element element)
                               throws SAML2Exception
        Class constructor with AttributeStatement in Element format.
        Throws:
        SAML2Exception
      • AttributeStatementImpl

        public AttributeStatementImpl​(String xmlString)
                               throws SAML2Exception
        Class constructor with AttributeStatement in xml string format.
        Throws:
        SAML2Exception