|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.xml.wss.impl.policy.DynamicPolicyContext com.sun.xml.wss.impl.configuration.DynamicApplicationContext
public class DynamicApplicationContext
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
Constructor Summary | |
---|---|
DynamicApplicationContext()
Create an empty DynamicApplicationContext |
|
DynamicApplicationContext(StaticPolicyContext context)
Create a DynamicApplicationContext with an associated StaticPolicyContext context |
Method Summary | |
---|---|
boolean |
equals(DynamicApplicationContext ctx)
equals operator |
java.lang.String |
getMessageIdentifier()
|
java.util.HashMap |
getRuntimeProperties()
|
StaticPolicyContext |
getStaticPolicyContext()
|
boolean |
inBoundMessage()
|
void |
inBoundMessage(boolean inBound)
Set the Message direction (inbound/outbound) to which this context corresponds to |
void |
setMessageIdentifier(java.lang.String messageIdentifier)
Set the messageIdentifier for this Message associated with this context |
void |
setStaticPolicyContext(StaticPolicyContext context)
set the associated StaticPolicyContext for this context |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicApplicationContext()
public DynamicApplicationContext(StaticPolicyContext context)
context
context
- the associated StaticPolicyContextMethod Detail |
---|
public void setMessageIdentifier(java.lang.String messageIdentifier)
messageIdentifier
- public java.lang.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 DynamicPolicyContext
public java.util.HashMap getRuntimeProperties()
public boolean equals(DynamicApplicationContext ctx)
ctx
- DynamicApplicationContext with which to compare for equality
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |