- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreated()Get creation timeStringgetExpires()Get Expires timevoidsetCreated(String created)voidsetExpires(String expires)SecurityAssertionValidator.AssertionFitnessvalidate(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, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
getCreated
public String getCreated()
Description copied from interface:LifetimeGet creation time- Specified by:
getCreatedin interfaceLifetime- Returns:
- String representing created time
-
setCreated
public void setCreated(String created)
-
getExpires
public String getExpires()
Description copied from interface:LifetimeGet Expires time- Specified by:
getExpiresin interfaceLifetime- Returns:
- String representing expires time.
-
setExpires
public void setExpires(String expires)
-
validate
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
Description copied from interface:SecurityAssertionValidatorreturns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.- Specified by:
validatein interfaceSecurityAssertionValidator
-
-