Class Trust10
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Trust10
- All Implemented Interfaces:
SecurityAssertionValidator,TrustAssertion
- Author:
- K.Venugopal@sun.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness -
Constructor Summary
ConstructorsConstructorDescriptionTrust10()Creates a new instance of Trust10Trust10(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
-
Trust10
public Trust10()Creates a new instance of Trust10 -
Trust10
public Trust10(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
-