Class OneTimeUse
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionAbstractType
-
- com.sun.xml.wss.saml.internal.saml20.jaxb20.OneTimeUseType
-
- com.sun.xml.wss.saml.assertion.saml20.jaxb20.OneTimeUse
-
- All Implemented Interfaces:
OneTimeUse
public class OneTimeUse extends OneTimeUseType implements OneTimeUse
This is an implementation of the abstractConditionclass, which specifes that the assertion thisOneTimeUseis 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.
-
-
Constructor Summary
Constructors Constructor Description OneTimeUse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OneTimeUseTypefromElement(Element element)Constructs aOneTimeUseelement from an existing XML block.
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Method Detail
-
fromElement
public static OneTimeUseType fromElement(Element element) throws SAMLException
Constructs aOneTimeUseelement from an existing XML block.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forOneTimeUseobject.- Throws:
SAMLException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-
-