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
-
-
Constructor Summary
Constructors Constructor Description SignedElements()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTarget(String target)Iterator<String>getTargets()returns aIteratorover list target elements.StringgetXPathVersion()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
-
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 Detail
-
getXPathVersion
public String getXPathVersion()
-
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:SignedElementsreturns aIteratorover list target elements.- Specified by:
getTargetsin interfaceSignedElements- Returns:
Iteratorover list of XPath expressions
-
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
-
-