| |
|
| java.lang.Object com.sun.xml.wss.ProcessingContext
All known Subclasses: com.sun.xml.wss.impl.ProcessingContextImpl,
ProcessingContext | public class ProcessingContext implements SecurityProcessingContext(Code) | | This class represents a Context that is used by the XWS-Security Runtime to
apply/verify Security Policies on an Outgoing/Incoming SOAP Message.
The context contains among other things
- The SOAP Message to be operated upon
- The Message direction (incoming or outgoing)
- The security policy to be applied by XWS-Security on the message
- A randomly generated Message-Identifier that can be used for request-response correlation,
by a CallbackHandler, the handles
DynamicPolicyCallback
- A list of properties associated with the calling Application Runtime, that can be used to
make Dynamic Policy decisions.
- A concrete implementation of the SecurityEnvironment interface OR a CallbackHandler
|
OPERATION_RESOLVER | final public static String OPERATION_RESOLVER(Code) | | |
configType | int configType(Code) | | |
inBoundMessage | boolean inBoundMessage(Code) | | |
ProcessingContext | public ProcessingContext()(Code) | | Default constructor
|
getConfigType | public int getConfigType()(Code) | | This method is used for internal purposes
|
getExtraneousProperties | public Map getExtraneousProperties()(Code) | | Properties extraneously defined by XWSS runtime - can contain
application's runtime context (like JAXRPCContext etc)
Map of extraneous properties |
getExtraneousProperty | public Object getExtraneousProperty(String name)(Code) | | the value for the named extraneous property. |
getMessageIdentifier | public String getMessageIdentifier()(Code) | | message identifier for the Message in the context |
getPolicyContext | public StaticPolicyContext getPolicyContext()(Code) | | StaticPolicyContext associated with this ProcessingContext, null otherwise |
getSOAPMessage | public SOAPMessage getSOAPMessage()(Code) | | the SOAPMessage from the context |
getSecurityEnvironment | public SecurityEnvironment getSecurityEnvironment()(Code) | | The SecurityEnvironment Handler set for the context |
isInboundMessage | public void isInboundMessage(boolean inBound)(Code) | | set the message flow direction (to true if inbound, false if outbound)
Parameters: inBound - message flow direction |
isInboundMessage | public boolean isInboundMessage()(Code) | | message flow direction, true if incoming, false otherwise |
removeExtraneousProperty | public void removeExtraneousProperty(String name)(Code) | | remove the named extraneous property if present
Parameters: name - the Extraneous Property to be removed |
reset | public void reset()(Code) | | This method is used for internal purposes
|
retainSecurityHeader | public boolean retainSecurityHeader()(Code) | | |
retainSecurityHeader | public void retainSecurityHeader(boolean arg)(Code) | | |
setConfigType | public void setConfigType(int type)(Code) | | This method is used for internal purposes
|
setExtraneousProperty | public void setExtraneousProperty(String name, Object value)(Code) | | set the extraneous property into the context
Extraneous Properties are properties extraneously defined by XWSS runtime
and can contain application's runtime context (like JAXRPCContext etc)
Parameters: name - the property name Parameters: value - the property value |
setHandler | public void setHandler(CallbackHandler handler)(Code) | | set the CallbackHandler for the context
Parameters: handler - The CallbackHandler |
setMessageIdentifier | public void setMessageIdentifier(String identifier)(Code) | | Allow for message identifier to be generated externally
Parameters: identifier - the Message Identifier value |
setPolicyContext | public void setPolicyContext(StaticPolicyContext context)(Code) | | set the StaticPolicyContext for this ProcessingContext.
Parameters: context - StaticPolicyContext for this context |
setSecurityEnvironment | public void setSecurityEnvironment(SecurityEnvironment handler)(Code) | | set the SecurityEnvironment Handler for the context
Parameters: handler - The SecurityEnvironment Handler |
|
|
|