|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.wsm.security.policy.scenario.policycompliance.AbstractSignedElementsAndPartsComplianceHandler
public abstract class AbstractSignedElementsAndPartsComplianceHandler
Constructor Summary | |
---|---|
AbstractSignedElementsAndPartsComplianceHandler() |
Method Summary | |
---|---|
abstract Compliance |
checkCompliance(Map<String,Object> arguments) |
protected List<? extends NodeWrapper.IElementsAttachments> |
getAllMatchingHeadersForNamespace(String namespace, javax.xml.soap.SOAPMessage soapMessage) This method will take care of the situation when there is no local name for header and only namespace is provided. |
protected boolean |
getMatchingElement(Node signedNode, NodeWrapper.IElementsAttachments elementFromPolicy) |
protected boolean |
getMatchingElement(Node signedNode, NodeWrapper.IElementsAttachments elementFromPolicy, javax.xml.soap.SOAPMessage soapMessage, oracle.security.xmlsec.wss.WSSecurity wssSec) This method will implement depth-first search semantics to check whether the Elements from the policy is actually the same node or a child of the signed node from the soap message |
protected List<? extends NodeWrapper.IElementsAttachments> |
getSignatureConfirmationsInResponse(oracle.security.xmlsec.wss.WSSecurity wssSec) |
protected boolean |
isAttachmentProtected(javax.xml.soap.AttachmentPart attachmentPart, NodeWrapper.IElementsAttachments elementFromPolicy) |
protected boolean |
isIgnorableElementPresentInSoap(javax.xml.soap.SOAPMessage soapMessage, NodeWrapper.Elements elementFromPolicy) This method checks whether or not a NodeWrapper.Elements is presentin the soap message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractSignedElementsAndPartsComplianceHandler()
Method Detail |
---|
public abstract Compliance checkCompliance(Map<String,Object> arguments)
checkCompliance
in interface IPolicyCompliance
protected boolean getMatchingElement(Node signedNode, NodeWrapper.IElementsAttachments elementFromPolicy, javax.xml.soap.SOAPMessage soapMessage, oracle.security.xmlsec.wss.WSSecurity wssSec)
Elements
from the policy is actually the same node or a child of the signed node from the soap messagesignedNode
- This represents the node subtree that was signed.requiredElementFromPolicy
- This is an Elements
object.protected boolean getMatchingElement(Node signedNode, NodeWrapper.IElementsAttachments elementFromPolicy)
protected List<? extends NodeWrapper.IElementsAttachments> getAllMatchingHeadersForNamespace(String namespace, javax.xml.soap.SOAPMessage soapMessage) throws SecurityException
SecurityException
protected boolean isIgnorableElementPresentInSoap(javax.xml.soap.SOAPMessage soapMessage, NodeWrapper.Elements elementFromPolicy)
SOAPMessage
Core soap elements like Envelope, Body, Header if configured in the policy are safely ignored in the following logic.
soapMessage
- An instance of the SOAPMessage objectelementFromPolicy
- An instance of NodeWrapper.Elements classprotected boolean isAttachmentProtected(javax.xml.soap.AttachmentPart attachmentPart, NodeWrapper.IElementsAttachments elementFromPolicy)
protected List<? extends NodeWrapper.IElementsAttachments> getSignatureConfirmationsInResponse(oracle.security.xmlsec.wss.WSSecurity wssSec)
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |