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

java.lang.Object
  extended by com.sun.xml.ws.policy.PolicyAssertion
      extended by com.sun.xml.ws.security.impl.policy.EncryptedElements
All Implemented Interfaces:
EncryptedElements, SecurityAssertionValidator, Target

public class EncryptedElements
extends com.sun.xml.ws.policy.PolicyAssertion
implements EncryptedElements, SecurityAssertionValidator


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
 
Field Summary
 
Fields inherited from interface com.sun.xml.ws.security.policy.Target
SOAP_BODY
 
Constructor Summary
EncryptedElements()
          Creates a new instance of EncryptedElements
EncryptedElements(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
 void addTarget(java.lang.String target)
           
 java.util.Iterator<java.lang.String> getTargets()
          targets that needs to be confidentiality protected if present in the message.
 java.lang.String getXPathVersion()
          Returns XPath Version in use.
 void removeTarget(java.lang.String target)
           
 void setXPathVersion(java.lang.String version)
           
 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

EncryptedElements

public EncryptedElements()
Creates a new instance of EncryptedElements


EncryptedElements

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

getXPathVersion

public java.lang.String getXPathVersion()
Description copied from interface: EncryptedElements
Returns XPath Version in use.

Specified by:
getXPathVersion in interface EncryptedElements
Returns:
xpath version

setXPathVersion

public void setXPathVersion(java.lang.String version)

addTarget

public void addTarget(java.lang.String target)

removeTarget

public void removeTarget(java.lang.String target)

getTargets

public java.util.Iterator<java.lang.String> getTargets()
Description copied from interface: EncryptedElements
targets that needs to be confidentiality protected if present in the message.

Specified by:
getTargets in interface EncryptedElements
Returns:
Iterator

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