Class Lifetime

java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Lifetime
All Implemented Interfaces:
Lifetime, SecurityAssertionValidator

public class Lifetime extends com.sun.xml.ws.policy.PolicyAssertion implements Lifetime, SecurityAssertionValidator
Author:
Abhijit Das
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator

    SecurityAssertionValidator.AssertionFitness
  • Constructor Summary

    Constructors
    Constructor
    Description
    Lifetime(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
    Creates a new instance of LifeTimeImpl
  • Method Summary

    Modifier and Type
    Method
    Description
    Get creation time
    Get Expires time
    void
    setCreated(String created)
     
    void
    setExpires(String expires)
     
    validate(boolean isServer)
    returns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.

    Methods inherited from class com.sun.xml.ws.policy.PolicyAssertion

    equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Lifetime

      public Lifetime(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
      Creates a new instance of LifeTimeImpl
  • Method Details