java.lang .Object com.sun.xml.wss.impl.policy .DynamicPolicyContext com.sun.xml.wss.impl.configuration .DynamicApplicationContext DynamicApplicationContext public class DynamicApplicationContext extends DynamicPolicyContext (Code) Represents a concrete SecurityPolicy identifier context resolved at runtime,
An XWS-Security DynamicPolicyCallback
is passed an instance of
a DynamicApplicationContext
. A callback Handler handling
DynamicPolicyCallback can make use of information in this context
to dynamically determine the Security policy applicable for a request/response
DynamicApplicationContext public DynamicApplicationContext()(Code) Create an empty DynamicApplicationContext
DynamicApplicationContext public DynamicApplicationContext(StaticPolicyContext context)(Code) Create a DynamicApplicationContext with an associated
StaticPolicyContext context
Parameters: context - the associated StaticPolicyContext
equals public boolean equals(DynamicApplicationContext ctx)(Code) equals operator
Parameters: ctx - DynamicApplicationContext with which to compare for equality true if ctx is equal to this DynamicApplicationContext
getMessageIdentifier public String getMessageIdentifier()(Code) messageIdentifier for the Message associated with this context
getRuntimeProperties public HashMap getRuntimeProperties()(Code) HashMap of runtime properties in this context
getStaticPolicyContext public StaticPolicyContext getStaticPolicyContext()(Code) the associated StaticPolicContext if any, null otherwise
inBoundMessage public void inBoundMessage(boolean inBound)(Code) Set the Message direction (inbound/outbound) to which this context corresponds to
Parameters: inBound - flag indicating the direction of the message
inBoundMessage public boolean inBoundMessage()(Code) true if the context is for an inbound message
setMessageIdentifier public void setMessageIdentifier(String messageIdentifier)(Code) Set the messageIdentifier for this Message associated with this context
Parameters: messageIdentifier -
setStaticPolicyContext public void setStaticPolicyContext(StaticPolicyContext context)(Code) set the associated StaticPolicyContext for this context
Parameters: context - StaticPolicyContext