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 com.sun.xml.ws.policy.PolicyAssertion
implements SignedParts, 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 SignedPartsSignedParts(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 TypeMethodDescriptionvoidaddBody()voidIteratorover list of Headers that identify targets in the SOAP header to be integrity protected.booleanbooleanhasBody()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
-
SignedParts
public SignedParts()Creates a new instance of SignedParts -
SignedParts
public SignedParts(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
-
addBody
public void addBody() -
hasBody
public boolean hasBody()- Specified by:
hasBodyin interfaceSignedParts- Returns:
- true if the body is to be integrity protected.
-
hasAttachments
public boolean hasAttachments()- Specified by:
hasAttachmentsin interfaceSignedParts- Returns:
- true if the attachments are to be integrity protected
-
attachmentProtectionType
- Specified by:
attachmentProtectionTypein interfaceSignedParts- Returns:
- the URI of transform to be applied on attachment, the default is Attachment-Complete-Transform
-
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
-
addHeader
-
getHeaders
Description copied from interface:SignedPartsIteratorover list of Headers that identify targets in the SOAP header to be integrity protected.- Specified by:
getHeadersin interfaceSignedParts- Returns:
Iterator
-