Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docpublic:systemes:shibboleth:idpv4xc8 [2021/06/16 10:01]
adminjp [activation consent]
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'image du logo dans les sources , permet apres un install.sh d'assurer son deploiement dans le webapps de tomcat et donc le rend bien operationnel +en IDP v4 , lors du deploiement initial mettre l'image du logo dans les sources , permet apres un install.sh d'assurer son deploiement dans le webapps de tomcat et donc le rend bien operationnel 
  
 <code> <code>
Line 789: Line 789:
 idp.logo=/images/IMT_logo_RVB.jpg idp.logo=/images/IMT_logo_RVB.jpg
  
 +</code>
 +
 +==== Logo sur views / messages ====
 +
 +ref : https://wiki.shibboleth.net/confluence/display/IDP4/ErrorHandlingConfiguration
 +
 +en IDP v 4.1.2 pour afficher le logo de l'etablissement dans les views (ecran d'interception) , il faut :
 +
 +  - 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 ===
 +
 +<code>
 +[root@idp4t shibboleth-idp]# ls -l edit-webapp/images/logo-imtbs-tsp.png 
 +-rw-r--r-- 1 root root 13640 30 juin  07:53 edit-webapp/images/logo-oursite.png
 +</code>
 + 
 +=== 2) messages.properties ====
 +
 +<code>
 +[root@idp4t shibboleth-idp]# cat messages/messages.properties 
 +# You can define message properties here to override messages defined in
 +# the system-supplied message file or to add your own messages.
 +idp.logo = /images/logo-oursite.png
 +</code>
 +
 +=== 3) re-build ===
 +
 +on rebuild le war afin qu'il soit redeployer dans le webapps de tomcat 
 +
 +<code>
 +[root@idp4t shibboleth-idp]# ./bin/build.sh 
 +Buildfile: /opt/shibboleth-idp/bin/build.xml
 +
 +build-war:
 +Installation Directory: [/opt/shibboleth-idp] ? 
 +
 +INFO [net.shibboleth.idp.installer.BuildWar:103] - Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.1.2
 +INFO [net.shibboleth.idp.installer.BuildWar:113] - Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
 +
 +INFO [net.shibboleth.idp.installer.BuildWar:92] - Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
 +INFO [net.shibboleth.idp.installer.BuildWar:125] - Creating war file /opt/shibboleth-idp/war/idp.war
 +
 +BUILD SUCCESSFUL
 +Total time: 7 seconds
 </code> </code>
 ===== Attribute Resolver v4 ===== ===== Attribute Resolver v4 =====
Line 1133: Line 1180:
 </code> </code>
  
-===== upgrade =====+===== Upgrade =====
  
 https://wiki.shibboleth.net/confluence/display/IDP4/Upgrading https://wiki.shibboleth.net/confluence/display/IDP4/Upgrading
 +
 +Exemple ici du passage d'une 4.1.0 en 4.1.2 
 +
 +recuperer les sources 
 +
 +<code>
 +[root@idpx opt]# wget https://shibboleth.net/downloads/identity-provider/4.1.2/shibboleth-identity-provider-4.1.2.tar.gz
 +</code>
 +
 +sauver / backup de l'existant 
 +
 +<code>
 +[root@idpx opt]# cp -a shibboleth-idp shibboleth-idp-prod-4.1.0
 +</code>
 +
 +desarchiver et se deplacer dans l'arborescence des sources de cette nouvelle version
 +
 +<code>
 +[root@idpx opt]# tar xvfz shibboleth-identity-provider-4.1.2.tar.gz
 +[root@idpx opt]# cd shibboleth-identity-provider-4.1.2
 +</code>
 +
 +Lancer l'installation vers la destination de production actuelle (ici /opt/shibboleth-idp) , ainsi il sera fait un upgrade (cela garde la configuration !) 
 +
 +<code>
 +[root@idpx shibboleth-identity-provider-4.1.2]#  ./bin/install.sh
 +Buildfile: /opt/shibboleth-identity-provider-4.1.2/bin/build.xml
 +
 +install:
 +Source (Distribution) Directory (press <enter> to accept default): [/opt/shibboleth-identity-provider-4.1.2] ? 
 +
 +Installation Directory: [/opt/shibboleth-idp] ? 
 +
 +INFO [net.shibboleth.idp.installer.V4Install:162] - Update from version 4.1.0 to version 4.1.2
 +INFO [net.shibboleth.idp.installer.BuildWar:103] - Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.1.2
 +INFO [net.shibboleth.idp.installer.BuildWar:113] - Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
 +INFO [net.shibboleth.idp.installer.BuildWar:92] - Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
 +INFO [net.shibboleth.idp.installer.BuildWar:125] - Creating war file /opt/shibboleth-idp/war/idp.war
 +
 +BUILD SUCCESSFUL
 +Total time: 31 seconds
 +</code>
 +
 +
 +rebuild du war 
 +
 +<code>
 +[root@idpx shibboleth-idp]# ./bin/build.sh 
 +Buildfile: /opt/shibboleth-idp/bin/build.xml
 +
 +build-war:
 +Installation Directory: [/opt/shibboleth-idp] ? 
 +
 +INFO [net.shibboleth.idp.installer.BuildWar:103] - Rebuilding /opt/shibboleth-idp/war/idp.war, Version 4.1.2
 +INFO [net.shibboleth.idp.installer.BuildWar:113] - Initial populate from /opt/shibboleth-idp/dist/webapp to /opt/shibboleth-idp/webpapp.tmp
 +INFO [net.shibboleth.idp.installer.BuildWar:92] - Overlay from /opt/shibboleth-idp/edit-webapp to /opt/shibboleth-idp/webpapp.tmp
 +INFO [net.shibboleth.idp.installer.BuildWar:125] - Creating war file /opt/shibboleth-idp/war/idp.war
 +
 +BUILD SUCCESSFUL
 +Total time: 6 seconds
 +</code>
 +
 +
 +puis stop/start de tomcat afin de redeployer ce nouveau war . 
  
  
docpublic/systemes/shibboleth/idpv4xc8.1623837692.txt.gz ยท Last modified: 2021/06/16 10:01 by adminjp
[unknown link type]Back to top
CC Attribution-Noncommercial-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0