> -----Messaggio originale----- > Da: Andrew Daviel [mailto:[email protected]] > Inviato: giovedì 13 maggio 2010 3.42 > A: [email protected] > Oggetto: Re: R: [cas-user] CAS for dummies ? > > On Wed, 12 May 2010, Leandro Dardini wrote: > > > I just installed CAS plus LDAP authentication and > mod_auth_cas. I can review the installation with you. > > Thanks! > > > I suggest you to remove tomcat5 and java from the rpm > repository and > > install them from source. > > Our site requires the use of packages whenever possible. I > certainly don't want to remove a standard package like Java > which has dependencies. > I don't think I have any serious problems beyond a lack of > understanding of javabeans etc.
Perfect, nice to know it. > > > Put the cas.war in webapps without decompressing it. Test > the cas simple authenticator works. > > Yes, that 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+CA > > S+Locally+using+the+Maven2+WAR+Overlay+Method > > I worked through that, though when I tried to install a > signed SSL certificate with keytool I got a "file too big" > error. So I'm running with a self-signed cert with the > default password. This is not good. I suggest you to get back and apply for the complete CA solution. Mod_auth_cas needs an SSL validation while talking with the CAS server. Why don't you take a look at http://marc.info/?l=tomcat-user&m=106293430225790&w=2 An old but still rocking page... > I set up maven 2.2.1 and can create "cas.war". > I have the "scott" password working. I tried to follow some > of http://www.ja-sig.org/wiki/display/CASUM/LDAP but got an > error, so I followed the message viz. > > mvn install:install-file -DgroupId=ca.triumf.cas \ > -DartifactId=cas-server-support-ldap -Dversion=1.0-SNAPSHOT \ > -Dpackaging=jar \ > > -Dfile=/home/packages/cas-server-3.4.2/modules/cas-server-supp > ort-ldap-3.4.2.jar > > then "mvn clean package" completes with only Info messages > > When I try to replace "scott" with LDAP I get in a muddle > again with errors like "Cannot find class > [org.springframework.ldap.core.support.LdapContextSource]" This is bad. It seems the maven doesn't do his homework... Check better the pom file for missing dependency. Maybe check if you have inserted the <dependency> in the right place. Leandro > > -- > Andrew Daviel, TRIUMF, Canada > > -- > 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 > -- 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
