com.sun.xml.ws.security.impl.policy
Class SignedParts
java.lang.Object
com.sun.xml.ws.policy.PolicyAssertion
com.sun.xml.ws.security.impl.policy.SignedParts
- All Implemented Interfaces:
- SecurityAssertionValidator, SignedParts, Target
public class SignedParts
- extends PolicyAssertion
- implements SignedParts, SecurityAssertionValidator
- Author:
- K.Venugopal@sun.com
| Fields inherited from interface com.sun.xml.ws.security.policy.Target |
SOAP_BODY |
| 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 |
SignedParts
public SignedParts()
- Creates a new instance of SignedParts
SignedParts
public SignedParts(AssertionData name,
Collection<PolicyAssertion> nestedAssertions,
AssertionSet nestedAlternative)
addBody
public void addBody()
hasBody
public boolean hasBody()
- Specified by:
hasBody in interface SignedParts
- Returns:
- true if the body is to be integrity protected.
hasAttachments
public boolean hasAttachments()
- Specified by:
hasAttachments in interface SignedParts
- Returns:
- true if the attachments are to be integrity protected
attachmentProtectionType
public String attachmentProtectionType()
- Specified by:
attachmentProtectionType in interface SignedParts
- Returns:
- the URI of transform to be applied on attachment, the default is
Attachment-Complete-Transform
validate
public SecurityAssertionValidator.AssertionFitness validate(boolean isServer)
- 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 interface SecurityAssertionValidator
addHeader
public void addHeader(Header header)
getHeaders
public Iterator getHeaders()
- Description copied from interface:
SignedParts
Iterator over list of Headers that identify targets in the SOAP header
to be integrity protected.
- Specified by:
getHeaders in interface SignedParts
- Returns:
Iterator
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.