Checkbox on login page

Brent Putman putmanb at georgetown.edu
Fri Jun 9 16:19:33 EDT 2017



On 6/8/17 12:20 PM, Jim Fox wrote:
>
> You can do this to get hold of the checkbox value.

Extracting and storing to a native SWF scoped attribute is nice. 
That's actually closer I think to what "regular" non-Shib apps do with
SWF in general, as opposed to writing full-blown Action interface impls
like we usually do.


>
> 2) make a local copy of the password flow
>
>
> 4) Change the transition of 'ExtractUsernamePasswordFromFormRequest'
> to your 'PreValidateUsernamePassword'


I wanted to note that there is actually another way of doing this that
doesn't involve copying the whole flow.  You can use flow inheritance
and then "splice in" an additional action state to run in between 2
existing action states.  We've done it for at least one other flow in
the flow set (supporting delegation).  I don't off-hand have an example
of how to do it in the user-space config for the authn flows, but I
think it's probably not that much different.

The main issue with either the copy or the inherit+splice is that it
doesn't automatically reflect changes we might be to the original flows
in system/.  I'm not sure which of the 2 is better from that
perspective, but the inherit+splice certainly means less duplication of
the system/ files and therefore less likely to be affected by changes -
but not impossible, because the naming and ordering of actions and
transitions in the base flow could certainly change and break the
user-space child flow.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170609/891e9746/attachment-0001.html>


More information about the users mailing list