Package com.sun.xml.ws.security.policy
Interface EncryptedParts
-
- All Superinterfaces:
Target
- All Known Implementing Classes:
EncryptedParts
public interface EncryptedParts extends Target
Identifies targets that if present in the message should be confidentiality protected.<xmp> <sp:EncryptedParts ... > <sp:Body/>? <sp:Header Name="xs:NCName"? Namespace="xs:anyURI" ... />* ... </sp:EncryptedParts> </xmp>- Author:
- K.Venugopal@sun.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IteratorgetTargets()returns list of SOAP Headers that need to protected.booleanhasAttachments()booleanhasBody()voidremoveBody()removes SOAP Body from the list of targets to be confidentiality protected.
-
-
-
Method Detail
-
hasBody
boolean hasBody()
- Returns:
- true if the body is part of the target list.
-
hasAttachments
boolean hasAttachments()
- Returns:
- true if attachments are part of the target list.
-
getTargets
Iterator getTargets()
returns list of SOAP Headers that need to protected.- Returns:
Iteratorover the list of SOAP Headers
-
removeBody
void removeBody()
removes SOAP Body from the list of targets to be confidentiality protected.
-
-