java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.Claims
- All Implemented Interfaces:
Claims,SecurityAssertionValidator
public class Claims
extends com.sun.xml.ws.policy.PolicyAssertion
implements Claims, SecurityAssertionValidator
- 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
ConstructorsConstructorDescriptionClaims()Creates a new instance of IssuerClaims(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]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
-
Claims
public Claims()Creates a new instance of Issuer -
Claims
public Claims(com.sun.xml.ws.policy.sourcemodel.AssertionData name, Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions, com.sun.xml.ws.policy.AssertionSet nestedAlternative)
-
-
Method Details
-
getClaimsAsBytes
public byte[] getClaimsAsBytes()- Specified by:
getClaimsAsBytesin interfaceClaims
-
getClaimsAsElement
- Specified by:
getClaimsAsElementin interfaceClaims
-
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
-