This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docpublic:systemes:ssocas:cas4install [2015/07/01 21:04] procacci@tem-tsp.eu [clearPass] |
docpublic:systemes:ssocas:cas4install [2015/07/01 22:20] (current) procacci@tem-tsp.eu |
||
---|---|---|---|
Line 682: | Line 682: | ||
</ | </ | ||
- | ===== clearPass ===== | ||
- | ref http:// | + | ===== redeploiement |
+ | |||
+ | On reconstruit a nouveau Cas | ||
< | < | ||
- | [disi@cas4 simple-cas4-overlay-template]$ | + | [disi@cas4 simple-cas4-overlay-template]$ |
- | diff --git a/pom.xml b/pom.xml | + | |
- | index 8e4621a..716a2f4 100755 | + | |
- | --- a/pom.xml | + | |
- | +++ b/pom.xml | + | |
- | @@ -51,12 +51,22 @@ | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | + < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + </ | + | |
- | + | + | |
- | + | + | |
- | </ | + | |
- | + | ||
- | < | + | |
</ | </ | ||
- | Single Node Configuration | + | puis on fait un RAZ du war dans l'arborescence tomcat |
- | + | ||
- | on part d'un web.xml | + | |
< | < | ||
- | [disi@cas4 simple-cas4-overlay-template]$ cp ./ | + | [root@cas4 cas-server-webapp]# systemctl stop tomcat.service |
- | + | [root@cas4 cas-server-webapp]# rm -rf /var/lib/tomcat/webapps/cas | |
- | [disi@cas4 simple-cas4-overlay-template]$ diff -ur ./target/cas/WEB-INF/web.xml ./src/ | + | [root@cas4 |
- | --- ./target/cas/WEB-INF/ | + | [root@cas4 cas-server-webapp]# systemctl start tomcat.service ; tail -f /var/log/cas/cas.log |
- | +++ ./src/main/webapp/WEB-INF/web.xml 2015-07-01 22: | + | |
- | @@ -64,6 +64,19 @@ | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | +<!-- JP clearpass servlet mapping --> | + | |
- | + | + | |
- | +< | + | |
- | + < | + | |
- | + < | + | |
- | +</filter> | + | |
- | + | + | |
- | +< | + | |
- | + < | + | |
- | + < | + | |
- | +</ | + | |
- | + | + | |
- | + | + | |
- | < | + | |
- | - Loads the CAS ApplicationContext. | + | |
- | - The deployer choice here is how to handle Throwables thrown by Spring' | + | |
- | @@ -169,6 +182,13 @@ | + | |
- | < | + | |
- | </ | + | |
- | + | ||
- | +<!-- JP clearpass servlet mapping --> | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + </ | + | |
- | + | + | |
- | + | + | |
- | < | + | |
- | < | + | |
- | < | + | |
</ | </ | ||
- | idem , on recopie un modele de clearpass-configuration.xml | ||
- | < | ||
- | [disi@cas4 simple-cas4-overlay-template]$ cp ./ | ||
- | </ | ||
- | et on en modifie le contenu pour y ajouter la list des services autoriser (exact match) a faire du clearpass | ||
- | < | + | |
- | [disi@cas4 simple-cas4-overlay-template]$ diff -ur ./ | + | |
- | --- ./ | + | |
- | +++ ./ | + | |
- | @@ -95,4 +95,17 @@ | + | |
- | + | ||
- | < | + | |
- | + | ||
- | -</ | + | |
- | \ Pas de fin de ligne à la fin du fichier | + | |
- | + <!-- JP list urls --> | + | |
- | + | + | |
- | + <bean id=" | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + < | + | |
- | + </ | + | |
- | + </ | + | |
- | + </ | + | |
- | + | + | |
- | + | + | |
- | +</ | + | |
- | </ | + |