Class EncryptedElements
- java.lang.Object
-
- com.sun.xml.ws.policy.PolicyAssertion
-
- com.sun.xml.ws.security.impl.policy.EncryptedElements
-
- All Implemented Interfaces:
EncryptedElements,SecurityAssertionValidator,Target
public class EncryptedElements extends PolicyAssertion implements EncryptedElements, SecurityAssertionValidator
- Author:
- Abhijit Das
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.sun.xml.ws.security.policy.SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness
-
-
Constructor Summary
Constructors Constructor Description EncryptedElements()Creates a new instance of EncryptedElementsEncryptedElements(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTarget(String target)Iterator<String>getTargets()targets that needs to be confidentiality protected if present in the message.StringgetXPathVersion()Returns XPath Version in use.voidremoveTarget(String target)voidsetXPathVersion(String version)SecurityAssertionValidator.AssertionFitnessvalidate(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 Detail
-
EncryptedElements
public EncryptedElements()
Creates a new instance of EncryptedElements
-
EncryptedElements
public EncryptedElements(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
-
Method Detail
-
getXPathVersion
public String getXPathVersion()
Description copied from interface:EncryptedElementsReturns XPath Version in use.- Specified by:
getXPathVersionin interfaceEncryptedElements- Returns:
- xpath version
-
setXPathVersion
public void setXPathVersion(String version)
-
addTarget
public void addTarget(String target)
-
removeTarget
public void removeTarget(String target)
-
getTargets
public Iterator<String> getTargets()
Description copied from interface:EncryptedElementstargets that needs to be confidentiality protected if present in the message.- Specified by:
getTargetsin interfaceEncryptedElements- Returns:
Iterator
-
validate
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
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
-
-