Here are the quick steps you can do before building CAS from source:
1. Download cas-server-3.3.1-release.tar.gz from
http://www.ja-sig.org/products/cas/downloads/index.html

2. Untar cas-server-3.3.1-release.tar.gz to
{your_home}/cas-server-3.3.1/

3. Copy {your_home}/cas-server-3.3.1/modules/cas-server-webapp-3.3.1.war
to {tomcat_home}/webapps/cas.war

4. Copy
{your_home}/cas-server-3.3.1/modules/cas-server-support-ldap-3.3.1.jar
to {tomcat_home}/webapps/cas/WEB-INF/lib/

5. Download
https://svn.sourceforge.net/svnroot/springframework/repos/repo/org/springframework/ldap/spring-ldap/1.2.1/spring-ldap-1.2.1.jar
 to {tomcat_home}/webapps/cas/WEB-INF/lib/ (this dependency is defined in 
{your_home}/cas-server-3.3.1/cas-server-support-ldap/pom.xml)

6. Replace {tomcat_home}/webapps/cas/WEB-INF/deployerConfigContext.xml
with
{your_home}/cas-server-3.3.1/cas-server-support-ldap/src/main/resources/deployerConfigContext.xml

7. Edit {tomcat_home}/webapps/cas/WEB-INF/deployerConfigContext.xml,
change the ldap settings accordingly, and add the following:
        <!-- 
        Sample, in-memory data store for the ServiceRegistry. A real
implementation
        would probably want to replace this with the JPA-backed ServiceRegistry
DAO
        The name of this bean should remain "serviceRegistryDao".
         -->
        <bean
                id="serviceRegistryDao"
                class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl" />

8. Restart cas.

9. Visit http://yourserver:8080/cas/login/, you'll able to login cas.

Good luck,

Shi Yusen/Beijing Langhua Ltd.


在 2009-02-12四的 11:21 +0000,Michael A Jones写道:
>  
> Hi there,
> 
>  
> 
> I am still having difficulty deploying CAS  connected to an LDAP on my
> Solaris 10 OS and wondered if I could have some advice. I am running
> Java 5.0.12. 
> 
> I have tried the method compiling using Maven, but when I deploy the
> compiled war file I get an error in the deployerContextConfig.xml
> saying it cannot create an inner bean HttpClient. I was using the
> BindLdapAuthenticationHandler method. 
> 
>  
> 
> I also have tried the instructions in CAS quickly to deploy the
> cas-server-webapp-3.3.1.war using the FastBind LDAP method, but again
> the CAS server fails to start giving an error saying it cannot create
> the fastbind inner bean due to ClassDefNotFound for
> org/springframework/ldap/core.
> 
>  
> 
> It appears that rather than the settings themselves being wrong in
> deployerContextConfig.xml, that there are classes that are missing
> somewhere. Is it a case of just ploughing through the POM.xml to check
> these??
> 
>  
> 
> Regards
> 
>  
> 
> Mike Jones
> 
>  
> 
> Identity Management Systems Administrator
> 
> e-sig
> 
> University of Hull
> 
>  
> 
> 
>  
> -- 
> 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
>  
> *****************************************************************************************
> To view the terms under which this email is distributed, please go to 
> http://www.hull.ac.uk/legal/email_disclaimer.html
> *****************************************************************************************


-- 
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