Class Trust13
- java.lang.Object
-
- com.sun.xml.ws.policy.PolicyAssertion
-
- com.sun.xml.ws.security.impl.policy.Trust13
-
- All Implemented Interfaces:
SecurityAssertionValidator
,TrustAssertion
public class Trust13 extends PolicyAssertion implements TrustAssertion, SecurityAssertionValidator
- Author:
- [email protected]
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
-
-
Constructor Summary
Constructors Constructor Description Trust13()
Creates a new instance of Trust13Trust13(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRequiredProperty(String requirement)
Set
getRequiredProperties()
Properties (MUST_SUPPORT_CLIENT_CHALLENGE,MUST_SUPPORT_SERVER_CHALLENGE,MUST_SUPPORT_ISSUED_TOKENS )present in the policy.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, getImplementation, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
-
-
-
Constructor Detail
-
Trust13
public Trust13()
Creates a new instance of Trust13
-
Trust13
public Trust13(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
-
Method Detail
-
addRequiredProperty
public void addRequiredProperty(String requirement)
-
getRequiredProperties
public 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 interfaceTrustAssertion
- Returns:
-
getType
public String getType()
- Specified by:
getType
in interfaceTrustAssertion
- 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 interfaceSecurityAssertionValidator
-
-