com.sun.xml.ws.security.impl.policy
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 PolicyAssertion
- implements Lifetime, SecurityAssertionValidator
- Author:
- Abhijit Das
| 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 |
Lifetime
public Lifetime(AssertionData name,
Collection<PolicyAssertion> nestedAssertions,
AssertionSet nestedAlternative)
- Creates a new instance of LifeTimeImpl
getCreated
public String getCreated()
- Description copied from interface:
Lifetime
- Get creation time
- Specified by:
getCreated in interface Lifetime
- Returns:
- String representing created time
setCreated
public void setCreated(String created)
getExpires
public String getExpires()
- Description copied from interface:
Lifetime
- Get Expires time
- Specified by:
getExpires in interface Lifetime
- Returns:
- String representing expires time.
setExpires
public void setExpires(String expires)
validate
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
- Description copied from interface:
SecurityAssertionValidator
- returns true if all the assertions embeeded under a SecurityPolicy
assertion are valid and supported by the implementation.
- Specified by:
validate in interface SecurityAssertionValidator
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.