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:ssocas:cas4install [2015/01/07 16:08]
procacci@tem-tsp.eu [cas.properties]
docpublic:systemes:ssocas:cas4install [2015/07/01 22:20] (current)
procacci@tem-tsp.eu
Line 18: Line 18:
   * http://fr.wikibooks.org/wiki/D%C3%A9velopper_en_Java/Introduction_%C3%A0_Apache_Maven   * http://fr.wikibooks.org/wiki/D%C3%A9velopper_en_Java/Introduction_%C3%A0_Apache_Maven
   * https://blog.zenithar.org/post/2013/10/17/personalisation-war-maven-overlay/   * https://blog.zenithar.org/post/2013/10/17/personalisation-war-maven-overlay/
 +  * http://aldian.developpez.com/tutoriels/javaee/authentification-centralisee-sso-cas/
 +  * http://www.developertutorials.com/single-sign-on/
 ==== rpm package system  installés ==== ==== rpm package system  installés ====
  
Line 82: Line 84:
            └─10829 java -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/...            └─10829 java -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar -Dcatalina.base=/...
  
-déc. 10 15:54:18 cas4.int-evry.fr systemd[1]: Started Apache Tomcat Web Application Container.+déc. 10 15:54:18 cas4.exemple.fr systemd[1]: Started Apache Tomcat Web Application Container.
  
 </code> </code>
Line 150: Line 152:
  
 </code> </code>
 +
 +=== firewalld rich-format rules ===
 +
 +autre option plus precise
 +
 +<code>
 +# firewall-cmd --permanent --add-rich-rule 'rule family="ipv4" source address="192.168.0.0/24" service name="http" log prefix="http_192_168" accept'
 +# firewall-cmd --reload
 +
 +</code>
 +
  
 ==== tomcat manager user ==== ==== tomcat manager user ====
Line 185: Line 198:
 ainsi a ce niveau nous pouvons atteindre notre serveur tomcat en natif (8080) sur le manager via : ainsi a ce niveau nous pouvons atteindre notre serveur tomcat en natif (8080) sur le manager via :
  
-http://cas4.tem-tsp.eu:8080/manager/html+http://cas4.exemple.fr:8080/manager/html
  
 ===== Cas4 UniconLabs/simple-cas4-overlay-template ===== ===== Cas4 UniconLabs/simple-cas4-overlay-template =====
Line 668: Line 681:
 Jan  7 16:59:36 ldap4 slapd[1236]: conn=32059 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text= Jan  7 16:59:36 ldap4 slapd[1236]: conn=32059 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
 </code> </code>
 +
 +
 +===== redeploiement cas  =====
 +
 +On reconstruit a nouveau Cas 
 +
 +<code>
 +[disi@cas4 simple-cas4-overlay-template]$  mvn -Dmaven.test.skip\=true package
 +</code>
 +
 +
 +puis on fait un RAZ du war dans l'arborescence tomcat 
 +
 +<code>
 +[root@cas4 cas-server-webapp]# systemctl stop tomcat.service 
 +[root@cas4 cas-server-webapp]# rm -rf /var/lib/tomcat/webapps/cas
 +[root@cas4 cas-server-webapp]# rm -rf /var/lib/tomcat/webapps/cas.war 
 +[root@cas4 cas-server-webapp]# systemctl start tomcat.service ; tail -f /var/log/cas/cas.log
 +</code>
 +
 +
 +
 +
 +
  
  
  
docpublic/systemes/ssocas/cas4install.1420646938.txt.gz · Last modified: 2015/01/07 16:08 by procacci@tem-tsp.eu
[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