[mitreid-connect] Branding
Luiz Omori
luiz.omori at duke.edu
Tue Feb 9 15:26:27 EST 2016
Humm, when did you add the property languageNamespaces? I get an error when I put that in. We are based on 1.2.2
Regards,
Luiz
From: Justin Richer <jricher at mit.edu<mailto:jricher at mit.edu>>
Date: Tuesday, February 9, 2016 at 2:29 PM
To: Luiz Omori <luiz.omori at dm.duke.edu<mailto:luiz.omori at dm.duke.edu>>
Cc: "mitreid-connect at mit.edu<mailto:mitreid-connect at mit.edu>" <mitreid-connect at mit.edu<mailto:mitreid-connect at mit.edu>>
Subject: Re: [mitreid-connect] Branding
The best ways to brand it is to use the CSS, messages files, and if necessary, some of the tag files. These can all be overridden with an overlay. The other main place is in the server-config.xml file, which points to the logo URL and the title of server.
To partially override the messages file, you can create a secondary language pack and load it ahead of the base locale. This is configured in the server-config.xml file. You can see how it works with the UMA server:
https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/WEB-INF/server-config.xml
Then create a namespace file next to the messages.json file:
https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/master/uma-server-webapp/src/main/webapp/resources/js/locale/en/uma.json
You can both override and extend the messages in these files.
— Justin
On Feb 9, 2016, at 1:37 PM, Luiz Omori <luiz.omori at duke.edu<mailto:luiz.omori at duke.edu>> wrote:
Hi,
I’ve searched around MitreID Wiki and Spring docs for information about branding but couldn’t find much info. Are there any guidelines for MitreID rebranding? I’ve seen the messages.json file for localization, obviously can play with the CSS, but is there more?
And talking about it, the messages.json file also contains things like email addresses (e.g. idp at example.com<mailto:idp at example.com>). Is there a way to replace only particular entries in there? Otherwise we will have to always merge them whenever we import a newer version.
Regards,
Luiz
_______________________________________________
mitreid-connect mailing list
mitreid-connect at mit.edu<mailto:mitreid-connect at mit.edu>
http://mailman.mit.edu/mailman/listinfo/mitreid-connect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20160209/885d98ae/attachment-0001.html
More information about the mitreid-connect
mailing list