Package org.apereo.cas.web.flow
Class CasDefaultFlowUrlHandler
- java.lang.Object
-
- org.springframework.webflow.context.servlet.DefaultFlowUrlHandler
-
- org.apereo.cas.web.flow.CasDefaultFlowUrlHandler
-
- All Implemented Interfaces:
org.springframework.webflow.context.servlet.FlowUrlHandler
public class CasDefaultFlowUrlHandler extends org.springframework.webflow.context.servlet.DefaultFlowUrlHandlerProvides special handling for parameters in requests made to the CAS login webflow.- Since:
- 3.4
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_FLOW_EXECUTION_KEY_PARAMETERDefault flow execution key parameter name, "execution".
-
Constructor Summary
Constructors Constructor Description CasDefaultFlowUrlHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateFlowDefinitionUrl(java.lang.String flowId, org.springframework.webflow.core.collection.AttributeMap input, javax.servlet.http.HttpServletRequest request)java.lang.StringcreateFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.servlet.http.HttpServletRequest request)java.lang.StringgetFlowExecutionKey(javax.servlet.http.HttpServletRequest request)Get the flow execution key.
-
-
-
Field Detail
-
DEFAULT_FLOW_EXECUTION_KEY_PARAMETER
public static final java.lang.String DEFAULT_FLOW_EXECUTION_KEY_PARAMETER
Default flow execution key parameter name, "execution". Same as that used byDefaultFlowUrlHandler.- See Also:
- Constant Field Values
-
-
Method Detail
-
getFlowExecutionKey
public java.lang.String getFlowExecutionKey(javax.servlet.http.HttpServletRequest request)
Get the flow execution key.- Specified by:
getFlowExecutionKeyin interfaceorg.springframework.webflow.context.servlet.FlowUrlHandler- Overrides:
getFlowExecutionKeyin classorg.springframework.webflow.context.servlet.DefaultFlowUrlHandler- Parameters:
request- the current HTTP servlet request.- Returns:
- the flow execution key.
-
createFlowExecutionUrl
public java.lang.String createFlowExecutionUrl(java.lang.String flowId, java.lang.String flowExecutionKey, javax.servlet.http.HttpServletRequest request)- Specified by:
createFlowExecutionUrlin interfaceorg.springframework.webflow.context.servlet.FlowUrlHandler- Overrides:
createFlowExecutionUrlin classorg.springframework.webflow.context.servlet.DefaultFlowUrlHandler
-
createFlowDefinitionUrl
public java.lang.String createFlowDefinitionUrl(java.lang.String flowId, org.springframework.webflow.core.collection.AttributeMap input, javax.servlet.http.HttpServletRequest request)- Specified by:
createFlowDefinitionUrlin interfaceorg.springframework.webflow.context.servlet.FlowUrlHandler- Overrides:
createFlowDefinitionUrlin classorg.springframework.webflow.context.servlet.DefaultFlowUrlHandler
-
-