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 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
-
-
Constructor Summary
Constructors Constructor Description SignedParts()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBody()voidaddHeader(Header header)StringattachmentProtectionType()IteratorgetHeaders()Iteratorover list of Headers that identify targets in the SOAP header to be integrity protected.booleanhasAttachments()booleanhasBody()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
-
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 Detail
-
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
public String attachmentProtectionType()
- Specified by:
attachmentProtectionTypein interfaceSignedParts- 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:SecurityAssertionValidatorreturns true if all the assertions embeeded under a SecurityPolicy assertion are valid and supported by the implementation.- Specified by:
validatein interfaceSecurityAssertionValidator
-
addHeader
public void addHeader(Header header)
-
getHeaders
public Iterator 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
-
-