Retrieve custom metadata attributes to use in login.vm

Cantor, Scott cantor.2 at osu.edu
Tue Sep 6 09:39:35 EDT 2016


> We would also like to change the content of the login.vm page (e.g. Display a
> federation logo, revoke consent ) based on the value of this metadata.
> Does anyone know how this could be done?

Probably by injecting an instance of the predicate that operates against tags in the metadata as a custom object in the view, and then running it to determine the result you're looking for.

See https://wiki.shibboleth.net/confluence/display/IDP30/ActivationConditions#ActivationConditions-RelyingPartiesByTag for the actual Spring wiring invoved.

-- Scott



More information about the users mailing list