|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.saml.assertion.Condition com.sun.identity.saml.assertion.DoNotCacheCondition
public class DoNotCacheCondition
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.
Field Summary |
---|
Fields inherited from class com.sun.identity.saml.assertion.Condition |
---|
INDETERMINATE, INVALID, VALID |
Constructor Summary | |
---|---|
DoNotCacheCondition()
Constructs a new DoNotCacheCondition . |
|
DoNotCacheCondition(Element doNotCacheConditionElement)
Constructs a DoNotCacheCondition element from
an existing XML block. |
Method Summary | |
---|---|
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. |
Constructor Detail |
---|
public DoNotCacheCondition()
DoNotCacheCondition
.
public DoNotCacheCondition(Element doNotCacheConditionElement) throws SAMLException
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.Method Detail |
---|
public String toString()
toString
in class Object
<saml:DoNotCacheCondition>
.public String toString(boolean includeNS, boolean declareNS)
<DoNotCacheCondition>
element.
toString
in class Condition
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.
public int evaluate()
evaluate
in class Condition
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |