public class DynamicApplicationContext extends DynamicPolicyContext
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/responseproperties| Constructor and Description |
|---|
DynamicApplicationContext()
Create an empty DynamicApplicationContext
|
DynamicApplicationContext(StaticPolicyContext context)
Create a DynamicApplicationContext with an associated
StaticPolicyContext
context |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(DynamicApplicationContext ctx)
equals operator
|
String |
getMessageIdentifier() |
HashMap |
getRuntimeProperties() |
StaticPolicyContext |
getStaticPolicyContext() |
boolean |
inBoundMessage() |
void |
inBoundMessage(boolean inBound)
Set the Message direction (inbound/outbound) to which this context corresponds to
|
void |
setMessageIdentifier(String messageIdentifier)
Set the messageIdentifier for this Message associated with this context
|
void |
setStaticPolicyContext(StaticPolicyContext context)
set the associated StaticPolicyContext for this context
|
containsProperty, getProperty, getPropertyNames, removeProperty, setPropertypublic DynamicApplicationContext()
public DynamicApplicationContext(StaticPolicyContext context)
contextcontext - the associated StaticPolicyContextpublic void setMessageIdentifier(String messageIdentifier)
messageIdentifier - public String getMessageIdentifier()
public void inBoundMessage(boolean inBound)
inBound - flag indicating the direction of the messagepublic boolean inBoundMessage()
public void setStaticPolicyContext(StaticPolicyContext context)
context - StaticPolicyContextpublic StaticPolicyContext getStaticPolicyContext()
getStaticPolicyContext in class DynamicPolicyContextpublic HashMap getRuntimeProperties()
public boolean equals(DynamicApplicationContext ctx)
ctx - DynamicApplicationContext with which to compare for equalityCopyright © 2005–2018 Oracle Corporation. All rights reserved.