com.sun.xml.ws.security.impl.policy
Class Lifetime

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

public class Lifetime
extends 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
Lifetime(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
          Creates a new instance of LifeTimeImpl
 
Method Summary
 String getCreated()
          Get creation time
 String getExpires()
          Get Expires time
 void setCreated(String created)
           
 void setExpires(String expires)
           
 SecurityAssertionValidator.AssertionFitness 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, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lifetime

public Lifetime(AssertionData name,
                Collection<PolicyAssertion> nestedAssertions,
                AssertionSet nestedAlternative)
Creates a new instance of LifeTimeImpl

Method Detail

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.