Class SignedElements
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.SignedElements
- All Implemented Interfaces:
SecurityAssertionValidator,SignedElements,Target
public class SignedElements
extends com.sun.xml.ws.policy.PolicyAssertion
implements SignedElements, SecurityAssertionValidator
- Author:
- K.Venugopal@sun.com
-
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 SignedElementsSignedElements(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 TypeMethodDescriptionvoidreturns aIteratorover list target elements.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, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toString
-
Constructor Details
-
SignedElements
public SignedElements()Creates a new instance of SignedElements -
SignedElements
public SignedElements(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
-
setXPathVersion
-
addTarget
-
removeTarget
-
getTargets
Description copied from interface:SignedElementsreturns aIteratorover list target elements.- Specified by:
getTargetsin interfaceSignedElements- Returns:
Iteratorover list of XPath expressions
-
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
-