Class Lifetime
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Lifetime
- All Implemented Interfaces:
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
ConstructorsConstructorDescriptionLifetime(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative) Creates a new instance of LifeTimeImpl -
Method Summary
Modifier and TypeMethodDescriptionGet creation timeGet Expires timevoidsetCreated(String created) voidsetExpires(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
-
Constructor Details
-
Lifetime
public Lifetime(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative) Creates a new instance of LifeTimeImpl
-
-
Method Details
-
getCreated
Description copied from interface:LifetimeGet creation time- Specified by:
getCreatedin interfaceLifetime- Returns:
- String representing created time
-
setCreated
-
getExpires
Description copied from interface:LifetimeGet Expires time- Specified by:
getExpiresin interfaceLifetime- Returns:
- String representing expires time.
-
setExpires
-
validate
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
-