public class EncryptedParts extends com.sun.xml.ws.policy.PolicyAssertion implements EncryptedParts, SecurityAssertionValidator
SecurityAssertionValidator.AssertionFitness| Constructor and Description |
|---|
EncryptedParts()
Creates a new instance of EncryptedPartImpl
|
EncryptedParts(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody() |
void |
addTarget(QName targetName) |
Iterator |
getTargets()
returns list of SOAP Headers that need to protected.
|
boolean |
hasAttachments() |
boolean |
hasBody() |
void |
removeBody()
removes SOAP Body from the list of targets to be confidentiality protected.
|
void |
removeTarget(QName targetName) |
SecurityAssertionValidator.AssertionFitness |
validate(boolean isServer)
returns true if all the assertions embeeded under a SecurityPolicy
assertion are valid and supported by the implementation.
|
equals, getAttributes, getAttributesSet, getAttributeValue, getImplementation, getName, getNestedAssertionsIterator, getNestedPolicy, getParametersIterator, getValue, hashCode, hasNestedAssertions, hasNestedPolicy, hasParameters, isIgnorable, isOptional, isPrivate, toString, toStringpublic EncryptedParts()
public EncryptedParts(com.sun.xml.ws.policy.sourcemodel.AssertionData name,
Collection<com.sun.xml.ws.policy.PolicyAssertion> nestedAssertions,
com.sun.xml.ws.policy.AssertionSet nestedAlternative)
public void addBody()
public boolean hasBody()
hasBody in interface EncryptedPartspublic boolean hasAttachments()
hasAttachments in interface EncryptedPartspublic void addTarget(QName targetName)
public Iterator getTargets()
EncryptedPartsgetTargets in interface EncryptedPartsIterator over the list of SOAP Headerspublic SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
SecurityAssertionValidatorvalidate in interface SecurityAssertionValidatorpublic void removeTarget(QName targetName)
public void removeBody()
EncryptedPartsremoveBody in interface EncryptedPartsCopyright © 2005–2018 Oracle Corporation. All rights reserved.