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
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of EncryptedElementsEncryptedElements
(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative) -
Method Summary
Modifier and TypeMethodDescriptionvoid
targets that needs to be confidentiality protected if present in the message.Returns XPath Version in use.void
removeTarget
(String target) void
setXPathVersion
(String version) 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
-
EncryptedElements
public EncryptedElements()Creates a new instance of EncryptedElements -
EncryptedElements
public EncryptedElements(AssertionData name, Collection<PolicyAssertion> nestedAssertions, AssertionSet nestedAlternative)
-
-
Method Details
-
getXPathVersion
Description copied from interface:EncryptedElements
Returns XPath Version in use.- Specified by:
getXPathVersion
in interfaceEncryptedElements
- Returns:
- xpath version
-
setXPathVersion
-
addTarget
-
removeTarget
-
getTargets
Description copied from interface:EncryptedElements
targets that needs to be confidentiality protected if present in the message.- Specified by:
getTargets
in interfaceEncryptedElements
- Returns:
Iterator
-
validate
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 interfaceSecurityAssertionValidator
-