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

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

public class Trust13
extends com.sun.xml.ws.policy.PolicyAssertion
implements TrustAssertion, SecurityAssertionValidator


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
 
Constructor Summary
Trust13()
          Creates a new instance of Trust13
Trust13(com.sun.xml.ws.policy.sourcemodel.AssertionData name, java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
           
 
Method Summary
 void addRequiredProperty(java.lang.String requirement)
           
 java.util.Set getRequiredProperties()
          Properties (MUST_SUPPORT_CLIENT_CHALLENGE,MUST_SUPPORT_SERVER_CHALLENGE,MUST_SUPPORT_ISSUED_TOKENS )present in the policy.
 java.lang.String getType()
           
 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, 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

Trust13

public Trust13()
Creates a new instance of Trust13


Trust13

public Trust13(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
               java.util.Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
               com.sun.xml.ws.policy.AssertionSet nestedAlternative)
Method Detail

addRequiredProperty

public void addRequiredProperty(java.lang.String requirement)

getRequiredProperties

public java.util.Set getRequiredProperties()
Description copied from interface: TrustAssertion
Properties (MUST_SUPPORT_CLIENT_CHALLENGE,MUST_SUPPORT_SERVER_CHALLENGE,MUST_SUPPORT_ISSUED_TOKENS )present in the policy.

Specified by:
getRequiredProperties in interface TrustAssertion
Returns:

getType

public java.lang.String getType()
Specified by:
getType in interface TrustAssertion
Returns:
1.0

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