com.sun.xml.wss.saml.assertion.saml20.jaxb20
Class OneTimeUse

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionAbstractType
      extended by com.sun.xml.wss.saml.internal.saml20.jaxb20.OneTimeUseType
          extended by 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 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 Summary
protected static Logger log
           
 
Constructor Summary
OneTimeUse()
           
 
Method Summary
static OneTimeUseType fromElement(Element element)
          Constructs a OneTimeUse element from an existing XML block.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
OneTimeUseElement - 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.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.