Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleV4.1

An interceptor is an arbitrary subflow that is assigned a flow ID that starts with "intercept/" and is defined to the system with a bean of type net.shibboleth.idp.profile.interceptor.ProfileInterceptorFlowDescriptor. Beans of this type are now auto-detected at startup and so do not require any special file or containing list to define them in, something that used to be required (see also the V4.0 tabnotes above). Simple defining a bean like so in conf/global.xml should work:

Code Block
<bean p:id="intercept/myflow" parent="shibboleth.InterceptFlow" />

Make sure to inherit from this parent, and to use the p:id syntax to identify the bean (necessary for the auto-wiring process to work).

...