com.sun.identity.saml.assertion
クラス 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.


フィールドの概要
 
クラス com.sun.identity.saml.assertion.Condition から継承されたフィールド
INDETERMINATE, INVALID, VALID
 
コンストラクタの概要
DoNotCacheCondition()
          Constructs a new DoNotCacheCondition.
DoNotCacheCondition(Element doNotCacheConditionElement)
          Constructs a DoNotCacheCondition element from an existing XML block.
 
メソッドの概要
 int evaluate()
          Evaluates the Conditions A method which can be overridden by a plug-in maybe which provides means of evaluating this condition
 String toString()
          Creates a String representation of the element.
 String toString(boolean includeNS, boolean declareNS)
          Returns a String representation of the <DoNotCacheCondition> element.
 

コンストラクタの詳細

DoNotCacheCondition

public DoNotCacheCondition()
Constructs a new DoNotCacheCondition.


DoNotCacheCondition

public DoNotCacheCondition(Element doNotCacheConditionElement)
                    throws SAMLException
Constructs a DoNotCacheCondition element from an existing XML block.

パラメータ:
doNotCacheConditionElement - A org.w3c.dom.Element representing DOM tree for DoNotCacheCondition object.
例外:
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.
メソッドの詳細

toString

public String toString()
Creates a String representation of the element.

オーバーライド:
クラス Object 内の toString
戻り値:
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 String toString(boolean includeNS,
                       boolean declareNS)
Returns a String representation of the <DoNotCacheCondition> element.

定義:
クラス Condition 内の toString
パラメータ:
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.
戻り値:
A string containing the valid XML for this element

evaluate

public int evaluate()
Evaluates the Conditions A method which can be overridden by a plug-in maybe which provides means of evaluating this condition

定義:
クラス Condition 内の evaluate
戻り値:
evaluation state.