Thanks Andrew,,,

but those steps I already did  and the problem is inside of each step...

by example , at the pom.xml I add this lines

*<dependency>
     <groupId>${project.groupId}</groupId>
     <artifactId>cas-server-support-ldap</artifactId>
     <version>${project.version}</version>
</dependency>

<dependency>
     <groupId>org.jasig.cas</groupId>
     <artifactId>cas-server-integration-jboss</artifactId>
     <version>${project.version}</version>
     <type>jar</type>
 </dependency>*

and at the cas.properties I have this lines by default:
*
cas.securityContext.serviceProperties.service=
https://localhost:8443/cas/services/j_acegi_cas_security_check
cas.securityContext.casProcessingFilterEntryPoint.loginUrl=
https://localhost:8443/cas/login
cas.securityContext.ticketValidator.casServerUrlPrefix=
https://localhost:8443/cas*

but as I am jboss running on http://localhost:8080 I suposse that I have to
change the above lines by this:
*
cas.securityContext.serviceProperties.service=
http://localhost:8080/cas/services/j_acegi_cas_security_check
cas.securityContext.casProcessingFilterEntryPoint.loginUrl=
http://localhost:8080/cas/login
cas.securityContext.ticketValidator.casServerUrlPrefix=
http://localhost:8080/cas*

https by http
and
8443 by 8080

now at the deployerConfigContext.xml I add this

*<bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler">
    <property name="filter" value="uid=%u" />
    <property name="searchBase" value="ou=people,dc=tlon,dc=uan.edu.co" />
    <property name="contextSource" ref="contextSource" />
</bean>*

and this

*<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
        <property name="pooled" value="true"/>
        <property name="urls">
            <list>
                <value>ldaps://localhost:389/</value>
            </list>
        </property>
        <property name="userDn" value="cn=ldap_root,dc=tlon,dc=uan.edu.co"/>
        <property name="password" value="xxxxxxxxxx"/>
        <property name="baseEnvironmentProperties">
            <map>
                <entry>
                    <key>
                        <value>java.naming.security.authentication</value>
                    </key>
                    <value>simple</value>
                </entry>
            </map>
        </property>
</bean>*

and I build with "mvn package install" at the top of package, and I get the
cas.war which I put on server/default/deploy and the jars files for jboss
and ldap also I copy them to "lib" folder


after of this I run jboss and I point the browser to
http://localhost:8080/cas/login and the login page it's ok but when I put my
credentials for openldap authentication I get this errror on jboss console:

http://pastebin.com/m5314402d

and at browser I get this:

http://pastebin.com/m6728fd48

do you can help me with this issue,,I am beginning with cas....


thanks in advance,,,,,

On Fri, Jun 12, 2009 at 6:39 PM, Andrew R Feller <[email protected]> wrote:

>  Jeison,
>
> What I would recommend:
>
> 1. Download CAS 3.3.2
> 2. Edit main pom.xml to include necessary modules into build
> 3. Edit the cas.properties within cas-server-webapp to change localhost to
> the name of your server
> 4. Build CAS
> 5. Enjoy
>
> For an encore, you can configure your own authentication handlers within
> the cas-server-webapp's deployerConfigContext.xml.
>
> HTH,
> A-
>
> --
> Andrew Feller, Analyst
> LSU University Information Services
> 200 Frey Computing Services Center
> Baton Rouge, LA 70803
> Office: 225.578.3737
> Fax: 225.578.6400
>
>
>
>
> -----Original Message-----
> From: Jeison Gutierrez 
> [mailto:[email protected]<[email protected]>
> ]
> Sent: Fri 6/12/2009 5:15 PM
> To: [email protected]
> Subject: [cas-user] how to deploy the cas.war?
>
> hello,,,I build the cas package and I copy the cas.war to the
> server/default/deploy of jboss 4 but I see that cas.properties have urls
> like https://localhost:8443/cas and jboss run on http://localhost:8080/and
> when I put the cas.war on server/default/deploy I access to
> http://localhost:8080/cas and I write user and password and then click on
> submit i get error,,,,dou yu can help me,,,,where I put the cas.war and the
> jar files of the jboss integration , the ldap support and the cas
> core?,,,,please.
>
>
> thanks,
>
> Jeison Gutierrez
>
> --
> 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
>
>

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