|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.policy.parser.SecurityProcessorContext
Field Summary | |
static int |
ABORT
|
static java.lang.String[] |
ACTION_NAMES
|
static int |
COMMIT
|
static int |
NONE
|
static int |
START
|
Constructor Summary | |
SecurityProcessorContext()
|
Method Summary | |
PolicyEngineData |
commitPolicyEngineData()
|
int |
getAction()
Gets the action to perform in the processing method. |
org.apache.ws.policy.PrimitiveAssertion |
getAssertion()
Get the current assertion that is being processed. |
java.util.ArrayList |
getPedStack()
|
PolicyEngineData |
popPolicyEngineData()
Pop a PolicyEngineData from the PED stack. |
SecurityPolicyToken |
popSecurityToken()
Pop a SecurityPolicyToken from the token stack. |
void |
pushPolicyEngineData(PolicyEngineData ped)
Push a PolicyEngineData onto the PED stack. |
void |
pushSecurityToken(SecurityPolicyToken spt)
Push a SecurityPolicyToken onto the token stack. |
PolicyEngineData |
readCurrentPolicyEngineData()
Reads and returns the current PolicyEngineData. |
SecurityPolicyToken |
readCurrentSecurityToken()
Reads and returns the current SecurityPolicyToken. |
PolicyEngineData |
readPreviousPolicyEngineData()
|
void |
setAction(int act)
Sets to action to perform in the processing method. |
void |
setAssertion(org.apache.ws.policy.PrimitiveAssertion asrt)
Set the current assertion that is being processed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
public static final int START
public static final int COMMIT
public static final int ABORT
public static final java.lang.String[] ACTION_NAMES
Constructor Detail |
public SecurityProcessorContext()
Method Detail |
public int getAction()
public void setAction(int act)
act
- The actio to set. Either NONE, START, COMMIT, or ABORTpublic org.apache.ws.policy.PrimitiveAssertion getAssertion()
public void setAssertion(org.apache.ws.policy.PrimitiveAssertion asrt)
asrt
- The assertion to setpublic void pushSecurityToken(SecurityPolicyToken spt)
spt
- The SecurityPolicyToken to push on the stackpublic SecurityPolicyToken popSecurityToken()
null
.
public SecurityPolicyToken readCurrentSecurityToken()
null
. The method does not remove the token from
the stack.
public void pushPolicyEngineData(PolicyEngineData ped)
ped
- The PolicyEngineData to push on the stackpublic PolicyEngineData popPolicyEngineData()
null
.
public PolicyEngineData readCurrentPolicyEngineData()
null
. The method does not remove the PolicyEngineData from
the stack.
public PolicyEngineData readPreviousPolicyEngineData()
public PolicyEngineData commitPolicyEngineData()
public java.util.ArrayList getPedStack()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |