Interface Conditions

  • All Known Implementing Classes:
    Conditions, Conditions

    public interface Conditions
    The validity of an Assertion MAY be subject to a set of Conditions. Each Condition evaluates to a value that is Valid, Invalid or Indeterminate.

    The following schema fragment specifies the expected content contained within SAML Conditions element.

     <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:1.0:assertion}AudienceRestrictionCondition"/>
             <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}DoNotCacheCondition"/>
             <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}Condition"/>
           </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>
     
    • Method Detail

      • getNotBeforeDate

        Date getNotBeforeDate()
        Gets the value of the notBefore property.
        Returns:
        object is Date
      • getNotOnOrAfterDate

        Date getNotOnOrAfterDate()
        Gets the value of the notOnOrAfter property.
        Returns:
        object is Date