public class PathInfoSupportingFlowUrlHandler
extends org.springframework.webflow.context.servlet.DefaultFlowUrlHandler
A deliberate choice is made to do this only for enumerated flows, and not by checking every flow in the registry. This would probably not be harmful, but it's less risky to exclude the SAML/CAS/etc. flows unless we deliberately want to allow them to get additional path info.
| Modifier and Type | Field and Description |
|---|---|
private Collection<String> |
supportedFlowIds
Flows to support.
|
| Constructor and Description |
|---|
PathInfoSupportingFlowUrlHandler()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFlowId(javax.servlet.http.HttpServletRequest request) |
void |
setSupportedFlows(Collection<String> flowIds)
Set an ordered collection of flow IDs to detect.
|
@Nonnull @NonnullElements private Collection<String> supportedFlowIds
public PathInfoSupportingFlowUrlHandler()
public void setSupportedFlows(@Nonnull@NonnullElements Collection<String> flowIds)
Flow IDs that overlap must be ordered with the greater number of path segments first (e.g., flow/thing/one should precede flow/thing).
flowIds - the flow definition registrypublic String getFlowId(javax.servlet.http.HttpServletRequest request)
getFlowId in interface org.springframework.webflow.context.servlet.FlowUrlHandlergetFlowId in class org.springframework.webflow.context.servlet.DefaultFlowUrlHandlerCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.