override mdui:DisplayName in federation metadata?
YOUNG, MICHAEL A.
m.a.young at durham.ac.uk
Fri Jan 11 14:24:09 EST 2019
On Thu, 10 Jan 2019, Paul B. Henson wrote:
> On Thu, Jan 10, 2019 at 02:01:39PM +0000, Cantor, Scott wrote:
>
>> Nothing comes to mind. We don't have anything like a Scripted
>> MetadataFilter to just do arbitrary one-off changes.
>
> Ok, thanks for the info. I'll have them follow up with our web group to
> tweak it in the velocity template then, should be easy enough.
We did this sort of thing to change the look of our login page for certain
sites to our users, for example having different "get local help here"
messages for some sites.
So for example in views/login.vm we added the lines
## find entityID of Service Provider so we can customize some objects
#set ($SPentityId = $rpContext.getRelyingPartyId())
to the headers, and added after the line
#set ($serviceName = $rpUIContext.serviceName)
code like
#if ( $SPentityId == "a particular entity ID" )
#set ($serviceName = "A custom service name")
#end
to set a more descriptive "Login to" message for that site.
Michael Young
More information about the users
mailing list