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 com.sun.xml.ws.policy.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(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 TypeMethodDescriptionvoidtargets that needs to be confidentiality protected if present in the message.Returns XPath Version in use.voidremoveTarget(String target) voidsetXPathVersion(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, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
Constructor Details
-
EncryptedElements
public EncryptedElements()Creates a new instance of EncryptedElements -
EncryptedElements
public EncryptedElements(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
-
getXPathVersion
Description copied from interface:EncryptedElementsReturns XPath Version in use.- Specified by:
getXPathVersionin interfaceEncryptedElements- Returns:
- xpath version
-
setXPathVersion
-
addTarget
-
removeTarget
-
getTargets
Description copied from interface:EncryptedElementstargets that needs to be confidentiality protected if present in the message.- Specified by:
getTargetsin interfaceEncryptedElements- Returns:
Iterator
-
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
-