Interface TimeBoundSAMLObject

    • Field Detail

      • VALID_UNTIL_ATTRIB_QNAME

        @Nonnull
        static final QName VALID_UNTIL_ATTRIB_QNAME
        "validUntil" attribute's QName.
    • Method Detail

      • isValid

        boolean isValid()
        Checks to see if the current time is past the validUntil time.
        Returns:
        true of this descriptor is still valid otherwise false
      • getValidUntil

        @Nullable
        Instant getValidUntil()
        Gets the date until which this descriptor is valid.
        Returns:
        the date until which this descriptor is valid
      • setValidUntil

        void setValidUntil​(@Nullable
                           Instant validUntil)
        Sets the date until which this descriptor is valid.
        Parameters:
        validUntil - the date until which this descriptor is valid