Historique de la page
1
...
Requirements
JDK 1.6
Tomcat 6
2
...
Servlet installation
Helpdesk is packaged and placed on a centralized repository available atL'application est packagée et déposée sur un dépôt centralisé disponible à l'adresse :
https://mvn.esup-portail.org/content/repositories/releases/org/esupportail/helpdesk-web-jsf-servlet/<version>/helpdesk-web-jsf-servlet-<version>.war
3
...
Adapt config.properties
...
files
See 01 Configuration
4 Configuring CAS client in web.xml
Because this version still use an old version of esup-commons and CAS client you need to adapt web.xml manually (loginUrl, validateUrl, serverName). In a future version this will be done with config.properties file.
| Bloc de code |
|---|
<!--
|
L'application dispose d'un fichier de configuration qu'il convient d'adapter afin que l'application s'exécute, par exemple, dans un contexte de production ou de recette.
Ce fichier doit être passé en paramètre du serveur d'applications grâce à la variable -Dconfig.location
Paramètre | Description | Version | Exemple |
TODO avec tous les paramètres utilisés en V1 | https://www.esup-portail.org/display/PROJHELPDESK/01+Configuration | 1.0.0 |
|
4 Configurer le filtre de connexion CAS dans le fichier WEB-INF/web.xml
<!--
============================================================== |
...
CAS AUTHENTICATION |
...
============================================================== |
...
--> |
...
<filter>
<description>
...
<filter> <description>The CAS filter, used to authenticate users. |
...
</description> |
...
<display-name>CASFilter</display-name> |
...
<filter-name>CAS Filter</filter-name> |
...
<filter- |
...
class>edu.yale.its.tp.cas.client.filter. |
...
CASFilter</filter-class> |
...
<init-param> |
...
<param- |
...
name>edu.yale.its.tp.cas.client.filter. |
...
loginUrl</param-name> |
...
<param- |
...
value>https://cas.domain.edu/ |
...
login</param-value> |
...
</init-param> |
...
<init-param> |
...
<param- |
...
name>edu.yale.its.tp.cas.client.filter. |
...
validateUrl</param-name> |
...
<param- |
...
value>https://cas.domain.edu/ |
...
serviceValidate</param-value> |
...
</init-param> |
...
<init-param> |
...
<param- |
...
name>edu.yale.its.tp.cas.client.filter. |
...
serverName</param-name> |
...
<param- |
...
value>localhost: |
...
8080</param-value> |
...
</init-param> |
...
<init-param> |
...
<param- |
...
name>edu.yale.its.tp.cas.client.filter. |
...
wrapRequest</param-name> |
...
<param-value>true</param-value> |
...
</init-param> |
...
</filter> |
...
<filter-mapping> |
...
<filter-name>CAS Filter</filter-name> |
...
<url-pattern>/stylesheets/cas. |
...
faces</url-pattern> |
...
</filter-mapping> |