Différences entre les pages « Postfix » et « CAS »
(Différence entre les pages)
Sauter à la navigation
Sauter à la recherche
imported>SylvainBeucler m (Nouvelle page : Postfix est un serveur de messagerie, un ''Mail Transport Agent'' (MTA). == Déroulement de la réception d'un couriel == La documentation est difficile à suivre pour comprendre c...) |
imported>SylvainBeucler m (config grr) |
||
Ligne 1 : | Ligne 1 : | ||
− | + | == Installation == | |
− | == | + | * Installer [[Java]] |
+ | * Installer Tomcat: | ||
+ | aptitude install tomcat5.5 | ||
+ | sed -i -e 's,#JAVA_HOME=.*,JAVA_HOME=/usr/lib/jvm/java-6-openjdk,' /etc/default/tomcat5.5 | ||
+ | # TODO: faire ça proprement avec un fichier 'policy' quelque part | ||
+ | sed -i -e 's,#TOMCAT5_SECURITY=.*,TOMCAT5_SECURITY=no,' /etc/default/tomcat5.5 | ||
+ | invoke-rc.d tomcat5.5 restart | ||
+ | * Installer le module CAS/ | ||
+ | wget http://www.ja-sig.org/downloads/cas/cas-server-3.2-release.tar.gz | ||
+ | tar xzf cas-server-3.2-release.tar.gz | ||
+ | cd cas-server-3.2 | ||
+ | cp ./modules/cas-server-webapp-3.2.war /var/lib/tomcat5.5/webapps/ | ||
+ | * Visitez http://localhost:8180/cas-server-webapp-3.2/ | ||
+ | * Par défaut, un module d'authentification de test est installé: si le login et le mot de passe sont identiques (quel que soit le login), CAS accepte l'authentification. | ||
+ | * Installez le client CAS: | ||
+ | wget http://mesh.dl.sourceforge.net/sourceforge/esup-phpcas/esup-phpcas-0.5.1-1.zip | ||
+ | unzip esup-phpcas-0.5.1-1.zip | ||
+ | cd esup-phpcas-0.5.1-1 | ||
+ | echo "deploy.home=/usr/share/php" >> properties/build.properties | ||
+ | ant deploy | ||
− | + | == Exemple de configuration pour GRR == | |
− | + | * Configurez le client CAS dans <code>cas.sso</code>: | |
+ | cat <<'EOF' > /usr/share/php/CAS/cas.sso | ||
+ | <?php | ||
+ | $serveurSSO="localhost"; | ||
+ | $serveurSSOPort=8180; | ||
+ | $serveurSSORacine='cas-server-webapp-3.2'; | ||
+ | EOF | ||
− | == | + | == Liens == |
− | * | + | * [http://www.switch.ch/aai/docs/shibboleth/SWITCH/1.3/idp/install-idp-1.3-debian.html Install Shibboleth 1.3 Identity Provider on Debian 4.0 (etch), Tomcat only with CAS SSO]: accent sur les certificats x509? |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version du 2 avril 2008 à 15:47
Installation
- Installer Java
- Installer Tomcat:
aptitude install tomcat5.5 sed -i -e 's,#JAVA_HOME=.*,JAVA_HOME=/usr/lib/jvm/java-6-openjdk,' /etc/default/tomcat5.5 # TODO: faire ça proprement avec un fichier 'policy' quelque part sed -i -e 's,#TOMCAT5_SECURITY=.*,TOMCAT5_SECURITY=no,' /etc/default/tomcat5.5 invoke-rc.d tomcat5.5 restart
- Installer le module CAS/
wget http://www.ja-sig.org/downloads/cas/cas-server-3.2-release.tar.gz tar xzf cas-server-3.2-release.tar.gz cd cas-server-3.2 cp ./modules/cas-server-webapp-3.2.war /var/lib/tomcat5.5/webapps/
- Visitez http://localhost:8180/cas-server-webapp-3.2/
- Par défaut, un module d'authentification de test est installé: si le login et le mot de passe sont identiques (quel que soit le login), CAS accepte l'authentification.
- Installez le client CAS:
wget http://mesh.dl.sourceforge.net/sourceforge/esup-phpcas/esup-phpcas-0.5.1-1.zip unzip esup-phpcas-0.5.1-1.zip cd esup-phpcas-0.5.1-1 echo "deploy.home=/usr/share/php" >> properties/build.properties ant deploy
Exemple de configuration pour GRR
- Configurez le client CAS dans
cas.sso
:
cat <<'EOF' > /usr/share/php/CAS/cas.sso <?php $serveurSSO="localhost"; $serveurSSOPort=8180; $serveurSSORacine='cas-server-webapp-3.2'; EOF
Liens
- Install Shibboleth 1.3 Identity Provider on Debian 4.0 (etch), Tomcat only with CAS SSO: accent sur les certificats x509?