|
spring-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 user
public void sessionCreating(RequestContext context,
FlowDefinition definition)
FlowExecutionListener
sessionCreating in interface FlowExecutionListenersessionCreating in class FlowExecutionListenerAdaptercontext - the current flow request contextdefinition - the flow for which a new session is starting
public void stateEntering(RequestContext context,
StateDefinition state)
throws EnterStateVetoException
FlowExecutionListener
stateEntering in interface FlowExecutionListenerstateEntering in class FlowExecutionListenerAdaptercontext - the current flow request contextstate - the proposed state to transition to
EnterStateVetoException - when entering the state is not allowed
public void transitionExecuting(RequestContext context,
TransitionDefinition transition)
FlowExecutionListener
transitionExecuting in interface FlowExecutionListenertransitionExecuting in class FlowExecutionListenerAdaptercontext - the current flow request contexttransition - the proposed transition
protected 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-webflow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||