|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.webflow.execution.FlowExecutionListenerAdapter org.springframework.webflow.security.SecurityFlowExecutionListener
public class SecurityFlowExecutionListener
Flow security integration with Spring Security
Constructor Summary | |
---|---|
SecurityFlowExecutionListener()
|
Method Summary | |
---|---|
protected void |
decide(SecurityRule rule,
java.lang.Object object)
Performs a Spring Security authorization decision. |
org.springframework.security.access.AccessDecisionManager |
getAccessDecisionManager()
Get the access decision manager that makes flow authorization decisions. |
protected java.util.Collection<org.springframework.security.access.ConfigAttribute> |
getConfigAttributes(SecurityRule rule)
Convert SecurityRule into a form understood by Spring Security |
void |
sessionCreating(RequestContext context,
FlowDefinition definition)
Called to indicate a new flow definition session is about to be created. |
void |
setAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
Set the access decision manager that makes flow authorization decisions. |
void |
stateEntering(RequestContext context,
StateDefinition state)
Called when a state transitions, after the transition is matched but before the transition occurs. |
void |
transitionExecuting(RequestContext context,
TransitionDefinition transition)
Called when a transition is matched but before the transition occurs. |
Methods inherited from class org.springframework.webflow.execution.FlowExecutionListenerAdapter |
---|
eventSignaled, exceptionThrown, paused, requestProcessed, requestSubmitted, resuming, sessionEnded, sessionEnding, sessionStarted, sessionStarting, stateEntered, viewRendered, viewRendering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityFlowExecutionListener()
Method Detail |
---|
public org.springframework.security.access.AccessDecisionManager getAccessDecisionManager()
public void setAccessDecisionManager(org.springframework.security.access.AccessDecisionManager accessDecisionManager)
accessDecisionManager
- the decision manager to userpublic void sessionCreating(RequestContext context, FlowDefinition definition)
FlowExecutionListener
sessionCreating
in interface FlowExecutionListener
sessionCreating
in class FlowExecutionListenerAdapter
context
- the current flow request contextdefinition
- the flow for which a new session is startingpublic void stateEntering(RequestContext context, StateDefinition state) throws EnterStateVetoException
FlowExecutionListener
stateEntering
in interface FlowExecutionListener
stateEntering
in class FlowExecutionListenerAdapter
context
- the current flow request contextstate
- the proposed state to transition to
EnterStateVetoException
- when entering the state is not allowedpublic void transitionExecuting(RequestContext context, TransitionDefinition transition)
FlowExecutionListener
transitionExecuting
in interface FlowExecutionListener
transitionExecuting
in class FlowExecutionListenerAdapter
context
- the current flow request contexttransition
- the proposed transitionprotected void decide(SecurityRule rule, java.lang.Object object)
rule
- the rule to base the decisionobject
- the execution listener phaseprotected java.util.Collection<org.springframework.security.access.ConfigAttribute> getConfigAttributes(SecurityRule rule)
rule
- the rule to convert
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |