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

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
 
Constructor Summary
Claims()
          Creates a new instance of Issuer
Claims(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
 byte[] getClaimsAsBytes()
           
 org.w3c.dom.Element getClaimsAsElement()
           
 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

Claims

public Claims()
Creates a new instance of Issuer


Claims

public Claims(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

getClaimsAsBytes

public byte[] getClaimsAsBytes()
Specified by:
getClaimsAsBytes in interface Claims

getClaimsAsElement

public org.w3c.dom.Element getClaimsAsElement()
Specified by:
getClaimsAsElement in interface Claims

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