> -----Messaggio originale-----
> Da: Andrew Daviel [mailto:[email protected]] 
> Inviato: mercoledì 12 maggio 2010 4.15
> A: [email protected]
> Oggetto: [cas-user] CAS for dummies ?
> 
> 
> I'm trying to set up CAS to authenticate Apache (httpd) webservers.
> I am quite familiar with httpd, not much with Java or Tomcat.
> 
> I installed tomcat5 from yum/RPM on CENTOS5 with Sun Java and 
> it failed to start until I did "export 
> RPM_BUILD_ROOT=/usr/share/java/; 
> /usr/lib/rpm/redhat/brp-java-repack-jars". A RedHat packaging 
> issue but annoying all the same.
> 
> I installed cas-server-3.4.2 from tarball and per INSTALL.txt 
> got SimpleTestUsernamePassword to work :-)
> 
> /var/log/tomcat5/catalina.out said cas.log could not be 
> written until I gave it a full path /var/log/tomcat5/cas.log 
> in 
> /usr/share/tomcat5/webapps/cas-server-webapp-3.4.2/WEB-INF/cla
> sses/log4j.xml
> per the list archives. Linux starts Tomcat as a service from 
> init.d, so doubtless the working directory is / or something.
> 
> I would like to 1) use LDAP authentication and 2) use 
> mod_auth_cas (which appears to be installed and working)
> 
> There is a big jump in skills required between INSTALL.txt 
> and the wiki entry for LDAP authentication. Is there anything 
> simpler ?
> 
> I found http://www.ja-sig.org/wiki/display/CASUM/Demo
> which is written for cas-server-3.0 on Windows, not 3.4 on Linux.
> It says "You have no clue about SSL, server certificates etc. 
> But you know enough of Java, J2EE, Tomcat that someone is 
> paying you for it"
> But I know about SSL and server certificates. It's J2EE and 
> Tomcat I have no clue about :-7
> 
> 
> 
> -- 
> Andrew Daviel, TRIUMF, Canada
> 

I just installed CAS plus LDAP authentication and mod_auth_cas. I can review 
the installation with you. 

There is no need to have knowledge about tomcat and J2EE, you have to be able 
just to read catalina.out logs. However, I see you already take some different 
path from me. I suggest you to remove tomcat5 and java from the rpm repository 
and install them from source. It is not difficult, just download the tar.gz and 
.bin package and put somewhere in your system, like in /opt or /usr/local. 
Create an user "tomcat" and assign the tomcat/temp and tomcat/work to it. 
Mofidy the tomcat-users.xml and check the manager is working.

Put the cas.war in webapps without decompressing it. Test the cas simple 
authenticator works.

First step after setting up the war with the simple authentication 
username=password is to install the maven environment and follow the steps in 
http://www.ja-sig.org/wiki/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven2+WAR+Overlay+Method

Came back here once finished.

Leandro

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to