Custom intercept flows
Marvin Addison
marvin.addison at gmail.com
Wed Jun 24 10:33:08 EDT 2015
I'm trying to install some custom intercept flows under /flows and having
trouble. First, the directory structure is very particular. I packaged them
like the system intercept flows, but then realized there's a convention one
must follow to get the desired ID:
/flow/intercept/x/x-flow.xml
/flows/intercept/x/x-beans.xml
That produces an id of "intercept/x" as needed for intercept flow
signaling. That's easy enough, but deployers will probably do what I did
instinctively and try to package them like the system flows, which won't
work since they lack the x directory. You might consider structuring the
system flows per convention so deployers have a template to follow.
In any case now I'm getting the right ID:
2015-06-24 10:12:10,624 - DEBUG
[org.springframework.webflow.definition.registry
.FlowDefinitionRegistryImpl:99] - Registering flow definition 'file
[/path/to/idp/flows/intercept/vt-account-mgmt/vt-account-mgmt-flow.
xml]' under id 'intercept/vt-account-mgmt'
I've attempted to enable it by listing it in the RP config:
<bean id="CAS.LoginConfiguration.default"
parent="CAS.LoginConfiguration"
p:postAuthenticationFlows="#{{'vt-account-mgmt'}}" />
But it's complaining that it can't be found:
2015-06-24 10:13:08,806 - ERROR
[net.shibboleth.idp.profile.interceptor.impl.Pop
ulateProfileInterceptorContext:129] - Profile Action
PopulateProfileInterceptorC
ontext: Configured interceptor flow intercept/vt-account-mgmt not available
for
use
I'm pretty sure this can be made to work, but I'm not sure where to go at
this point. Any suggestions?
Thanks,
M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150624/a9e494c4/attachment.html>
More information about the users
mailing list