This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:shibboleth:idpv4xc8 [2021/06/11 13:38] adminjp [status et jstl] |
docpublic:systemes:shibboleth:idpv4xc8 [2021/06/30 17:48] (current) adminjp [personnaliser la page de login interne] |
||
---|---|---|---|
Line 781: | Line 781: | ||
- | en IDP v4 , mettre l' | + | en IDP v4 , lors du deploiement initial |
< | < | ||
Line 789: | Line 789: | ||
idp.logo=/ | idp.logo=/ | ||
+ | </ | ||
+ | |||
+ | ==== Logo sur views / messages ==== | ||
+ | |||
+ | ref : https:// | ||
+ | |||
+ | en IDP v 4.1.2 pour afficher le logo de l' | ||
+ | |||
+ | - deposer le fichier de logo dans le repertoire | ||
+ | - editer le fichier de porpertis des message pour y definir le parametre idp.logo | ||
+ | - relancer le buid + stop-start de tomcat | ||
+ | |||
+ | === 1) deposer le fichier logo === | ||
+ | |||
+ | < | ||
+ | [root@idp4t shibboleth-idp]# | ||
+ | -rw-r--r-- 1 root root 13640 30 juin 07:53 edit-webapp/ | ||
+ | </ | ||
+ | |||
+ | === 2) messages.properties ==== | ||
+ | |||
+ | < | ||
+ | [root@idp4t shibboleth-idp]# | ||
+ | # You can define message properties here to override messages defined in | ||
+ | # the system-supplied message file or to add your own messages. | ||
+ | idp.logo = / | ||
+ | </ | ||
+ | |||
+ | === 3) re-build === | ||
+ | |||
+ | on rebuild le war afin qu'il soit redeployer dans le webapps de tomcat | ||
+ | |||
+ | < | ||
+ | [root@idp4t shibboleth-idp]# | ||
+ | Buildfile: / | ||
+ | |||
+ | build-war: | ||
+ | Installation Directory: [/ | ||
+ | |||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | |||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | |||
+ | BUILD SUCCESSFUL | ||
+ | Total time: 7 seconds | ||
</ | </ | ||
===== Attribute Resolver v4 ===== | ===== Attribute Resolver v4 ===== | ||
Line 1107: | Line 1154: | ||
</ | </ | ||
- | ==== activation ==== | + | ==== activation |
- | activer le module de consentement : https:// | + | activer le module de consentement : |
+ | * https:// | ||
+ | * https:// | ||
< | < | ||
Line 1119: | Line 1168: | ||
[OK] | [OK] | ||
</ | </ | ||
+ | |||
+ | |||
+ | Depuis 4.1.x | ||
+ | |||
+ | < | ||
+ | <!-- Insert bean that references the static terms-of-use from consent-messages.properties --> | ||
+ | <bean id=" | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Upgrade ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | Exemple ici du passage d'une 4.1.0 en 4.1.2 | ||
+ | |||
+ | recuperer les sources | ||
+ | |||
+ | < | ||
+ | [root@idpx opt]# wget https:// | ||
+ | </ | ||
+ | |||
+ | sauver / backup de l' | ||
+ | |||
+ | < | ||
+ | [root@idpx opt]# cp -a shibboleth-idp shibboleth-idp-prod-4.1.0 | ||
+ | </ | ||
+ | |||
+ | desarchiver et se deplacer dans l' | ||
+ | |||
+ | < | ||
+ | [root@idpx opt]# tar xvfz shibboleth-identity-provider-4.1.2.tar.gz | ||
+ | [root@idpx opt]# cd shibboleth-identity-provider-4.1.2 | ||
+ | </ | ||
+ | |||
+ | Lancer l' | ||
+ | |||
+ | < | ||
+ | [root@idpx shibboleth-identity-provider-4.1.2]# | ||
+ | Buildfile: / | ||
+ | |||
+ | install: | ||
+ | Source (Distribution) Directory (press < | ||
+ | |||
+ | Installation Directory: [/ | ||
+ | |||
+ | INFO [net.shibboleth.idp.installer.V4Install: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | |||
+ | BUILD SUCCESSFUL | ||
+ | Total time: 31 seconds | ||
+ | </ | ||
+ | |||
+ | |||
+ | rebuild du war | ||
+ | |||
+ | < | ||
+ | [root@idpx shibboleth-idp]# | ||
+ | Buildfile: / | ||
+ | |||
+ | build-war: | ||
+ | Installation Directory: [/ | ||
+ | |||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | INFO [net.shibboleth.idp.installer.BuildWar: | ||
+ | |||
+ | BUILD SUCCESSFUL | ||
+ | Total time: 6 seconds | ||
+ | </ | ||
+ | |||
+ | |||
+ | puis stop/start de tomcat afin de redeployer ce nouveau war . | ||
+ | |||
+ | |||
===== Delegation d' | ===== Delegation d' | ||