Checkbox on login page
Cantor, Scott
cantor.2 at osu.edu
Thu Jun 8 11:11:57 EDT 2017
> I would like to add a check box to the idp login page ("I am working on a
> public computer"). The value of the checkbox
> (publiccomputer=[yes|no]) should get delivered to a service provider as a
> saml attribute.
> Is it possible to implement this using the Shibboleth IdP?
I don't know that there's any elegant way to deduce what the existing setting of the box on the page we already provide was set to. What you would likely do is write Java code to define a custom "context" class, that is a class deriving from BaseContext, and write code or script inside the login method to capture the checkbox state and inject the result into the context tree somewhere to save off the value. Then read it back in the attribute resolution stage via script.
If you're not a Java person, the answer is basically no.
-- Scott
More information about the users
mailing list