com.sun.identity.saml.assertion
Class  DoNotCacheCondition
java.lang.Object
  |
  +--com.sun.identity.saml.assertion.Condition
        |
        +--com.sun.identity.saml.assertion.DoNotCacheCondition
- public class DoNotCacheCondition- extends Condition
This is an implementation of the abstract Condition class, which
specifes that the assertion this DoNotCacheCondition 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.
 
| Constructor Summary | 
| DoNotCacheCondition(org.w3c.dom.Element doNotCacheConditionElement)Constructs a
 DoNotCacheConditionelement from 
 an existing XML block. | 
 
| Method Summary | 
|  int | evaluate()A method which can be overridden by a plug-in maybe which provides
 means of evaluating this condition
 | 
|  java.lang.String | toString()Creates a String representation of the element.
 | 
|  java.lang.String | toString(boolean includeNS,
         boolean declareNS)Returns a String representation of the
 <DoNotCacheCondition>element. | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
DoNotCacheCondition
public DoNotCacheCondition(org.w3c.dom.Element doNotCacheConditionElement)
                    throws SAMLException
- Constructs a DoNotCacheConditionelement from 
 an existing XML block.
- 
- Parameters:
- doNotCacheConditionElement- A- org.w3c.dom.Elementrepresenting DOM tree
        for- DoNotCacheConditionobject.
- Throws:
- SAMLException- if it could not process the- org.w3c.dom.Elementproperly, implying that
            there is an error in the sender or in the element definition.
 
toString
public java.lang.String toString()
- Creates a String representation of the element.- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
- Returns:
- A string containing the valid XML for this element
 By default name space name is prepended to the element name 
 example <saml:DoNotCacheCondition>.
 
toString
public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
- Returns a String representation of the
 <DoNotCacheCondition>element.
- 
- Overrides:
- toStringin class- Condition
 
- 
- Parameters:
- includeNS- Determines whether or not the namespace qualifier is 
        prepended to the Element when converted
- declareNS- Determines whether or not the namespace is declared
        within the Element.
- Returns:
- A string containing the valid XML for this element
 
evaluate
public int evaluate()
- A method which can be overridden by a plug-in maybe which provides
 means of evaluating this condition- 
- Overrides:
- evaluatein class- Condition
 
- 
- Returns:
- evaluation state.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.