Class OneTimeUse

  • All Implemented Interfaces:
    OneTimeUse

    public class OneTimeUse
    extends OneTimeUseType
    implements OneTimeUse
    This is an implementation of the abstract Condition class, which specifes that the assertion this OneTimeUse is part of, is the new element in SAML 1.1, that allows an assertion party to express that an assertion should not be cached by the relying party for future use. In another word, such an assertion is meant only for "one-time" use by the relying party.
    • Field Detail

      • log

        protected static final Logger log
    • Constructor Detail

      • OneTimeUse

        public OneTimeUse()
    • Method Detail

      • fromElement

        public static OneTimeUseType fromElement​(Element element)
                                          throws SAMLException
        Constructs a OneTimeUse element from an existing XML block.
        Parameters:
        element - A org.w3c.dom.Element representing DOM tree for OneTimeUse object.
        Throws:
        SAMLException - if it could not process the org.w3c.dom.Element properly, implying that there is an error in the sender or in the element definition.