Historique de la page
1 Requirements
JDK 1.6
Tomcat 6
2 Servlet installation
Helpdesk is packaged and placed on a centralized repository available at:
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 |
|---|
<!-- |
...
============================================================== |
...
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> |