Class Trust13
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Trust13
- All Implemented Interfaces:
SecurityAssertionValidator,TrustAssertion
- Author:
- ashutosh.shahi@sun.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness -
Constructor Summary
ConstructorsConstructorDescriptionTrust13()Creates a new instance of Trust13Trust13(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequiredProperty(String requirement) Properties (MUST_SUPPORT_CLIENT_CHALLENGE,MUST_SUPPORT_SERVER_CHALLENGE,MUST_SUPPORT_ISSUED_TOKENS )present in the policy.getType()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 Details
-
Trust13
public Trust13()Creates a new instance of Trust13 -
Trust13
public Trust13(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
-
Method Details
-
addRequiredProperty
-
getRequiredProperties
Description copied from interface:TrustAssertionProperties (MUST_SUPPORT_CLIENT_CHALLENGE,MUST_SUPPORT_SERVER_CHALLENGE,MUST_SUPPORT_ISSUED_TOKENS )present in the policy.- Specified by:
getRequiredPropertiesin interfaceTrustAssertion
-
getType
- Specified by:
getTypein interfaceTrustAssertion- Returns:
- 1.0
-
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
-