Class ConditionsType

java.lang.Object
org.keycloak.dom.saml.common.CommonConditionsType
org.keycloak.dom.saml.v2.assertion.ConditionsType
All Implemented Interfaces:
Serializable

public class ConditionsType extends CommonConditionsType implements Serializable

Java class for ConditionsType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ConditionsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/>
         <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/>
       </choice>
       <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • ConditionsType

      public ConditionsType()
  • Method Details

    • addCondition

      public void addCondition(ConditionAbstractType condition)
      Add a condition
      Parameters:
      condition -
    • removeCondition

      public void removeCondition(ConditionAbstractType condition)
      Remove a condition
      Parameters:
      condition -
    • getConditions

      public List<ConditionAbstractType> getConditions()
      Gets an read only conditions list.