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 |
---|
<!--
|
Adapt the configuration file so that the application is running, for example, in a production environment or recipe.
To use the externalize .properties file, use the -Dconfig.location switch to define a system property on a java command line. That system property may contain a path to your properties file.
Paramètre | Description | Version | Exemple |
TODO all parameters used with V1 | https://www.esup-portail.org/display/PROJHELPDESK/01+Configuration | 1.0.0 |
|
4 Configuring CAS Client in 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> |