Did you read this document: http://www.ja-sig.org/wiki/display/CASUM/LDAP
Which details how to include the correct LDAP dependencies via Maven 2 into the web application. -Scott On Dec 19, 2007 11:23 AM, Teggo Lam <[EMAIL PROTECTED]> wrote: > Sorry, but i'm not finding the correct version of cas-server-ldap to use > > is it the 3.0.7 version or other ? > > Other question, it is necessary to write the property userName and > Password on the deployerConfigContext.xml file > > > > Thanks > > > -TeggoLam > > 2007/12/19, Scott Battaglia <[EMAIL PROTECTED]>: > > > > Because as evidenced by the JAR name, that would be the CAS Server LDAP > > 3.0.5 jar. The link I provided before provides details on using the > > correct version for your instance of CAS. > > > > -Scott > > > > On Dec 19, 2007 10:08 AM, Teggo Lam <[EMAIL PROTECTED]> wrote: > > > > > > > > yes, I modified also the pom.xml file > > > > > > please can you explaine to me why not using cas-server-ldap-3.0.5.jar > > > > > > Thanks > > > > > > -TeggoLam > > > > > > 2007/12/19, Scott Battaglia < [EMAIL PROTECTED]>: > > > > > > > Have you made modifications to anything besides the > > > > deployerConfigContext.xml. Also, if you're using CAS 3.1.1 why are > > > > you using cas-server-ldap-3.0.5.jar. > > > > > > > > We keep up to date documentation on using LDAP with CAS here: > > > > http://www.ja-sig.org/wiki/display/CASUM/LDAP > > > > > > > > -Scott > > > > > > > > On Dec 19, 2007 7:08 AM, Elbassiti Lamyaa < [EMAIL PROTECTED]> > > > > wrote: > > > > > > > > > Hi all, > > > > > > > > > > I'm trying to use CAS 3.1.1 with Ldap and Liferay 4.3.4 but it > > > > > doesn't work . > > > > > After redirection to the CAS-login page, typing the login and Pwd > > > > > the clic on the button "se connecter" doesn't redirect to the > > > > > Liferay page > > > > > > > > > > > > > > > I'm adding : > > > > > spring-ldap-1.1.2.jar > > > > > cas-server-ldap-3.0.5.jar > > > > > ldaptemplate-1.0.2.jar > > > > > on the lib folder of the cas server > > > > > > > > > > this is my deployerContext.xml > > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > > > > > > > <beans xmlns="http://www.springframework.org/schema/beans" > > > > > xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " > > > > > xmlns:p="http://www.springframework.org/schema/p " > > > > > xsi:schemaLocation=" > > > > > http://www.springframework.org/schema/beans > > > > > http://www.springframework.org/schema/beans/spring-beans-2.0.xsd > > > > > "> > > > > > > > > > > <bean id="authenticationManager" > > > > > class=" > > > > > org.jasig.cas.authentication.AuthenticationManagerImpl"> > > > > > > > > > > <property name="credentialsToPrincipalResolvers"> > > > > > <list> > > > > > > > > > > <bean > > > > > class=" > > > > > org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" > > > > > /> > > > > > > > > > > <bean > > > > > class=" > > > > > org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" > > > > > /> > > > > > </list> > > > > > </property> > > > > > > > > > > > > > > > <property name="authenticationHandlers"> > > > > > <list> > > > > > > > > > > <bean class=" > > > > > org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler" > > > > > p:httpClient-ref="httpClient" /> > > > > > > > > > > <!-- ajout pour configurer CAS --> > > > > > <bean class=" > > > > > org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler " > > > > > > <property name="filter" > > > > > value="uid=%u,ou=people,dc=teggodev,dc=net" /> > > > > > <property > > > > > name="contextSource" ref="contextSource" /> > > > > > </bean> > > > > > <!-- <bean class=" > > > > > org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler" > > > > > /> --> > > > > > </list> > > > > > </property> > > > > > </bean> > > > > > > > > > > <bean id="contextSource" class=" > > > > > org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource"> > > > > > <!-- <property > > > > > name="anonymousReadOnly" value="true" /> --> > > > > > <property name="pooled" > > > > > value="true" /> > > > > > <property name="urls"> > > > > > <list> > > > > > <value> > > > > > ldap://@IP/</value> > > > > > <value> > > > > > ldap://@IP:389/</value> > > > > > </list> > > > > > </property> > > > > > <property > > > > > name="baseEnvironmentProperties"> > > > > > <map> > > > > > <entry> > > > > > <key> > > > > > > > > > > <value> java.naming.security.authentication</value> > > > > > </key> > > > > > > > > > > <value>simple</value> > > > > > </entry> > > > > > </map> > > > > > </property> > > > > > </bean> > > > > > > > > > > > > > > > <bean id="userDetailsService" class=" > > > > > org.acegisecurity.userdetails.memory.InMemoryDaoImpl"> > > > > > <property name="userMap"> > > > > > <value> > > > > > </value> > > > > > </property> > > > > > </bean> > > > > > > > > > > > > > > > <bean id="attributeRepository" > > > > > class=" > > > > > org.jasig.services.persondir.support.StubPersonAttributeDao"> > > > > > <property name="backingMap"> > > > > > <map> > > > > > <entry key="uid" value="uid" /> > > > > > <!-- <entry key="eduPersonAffiliation" > > > > > value="eduPersonAffiliation" /> > > > > > <entry key="groupMembership" > > > > > value="groupMembership" /> --> > > > > > </map> > > > > > </property> > > > > > </bean> > > > > > > > > > > <bean > > > > > id="serviceRegistryDao" > > > > > class=" > > > > > org.jasig.cas.services.InMemoryServiceRegistryDaoImpl" /> > > > > > </beans> > > > > > > > > > > > > > > > I'm very sorry for my bad english > > > > > > > > > > > > > > > Thanks for any insight > > > > > > > > > > > > > > > TeggoLam > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > Yale CAS mailing list > > > > > [email protected] > > > > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > > > > > > > > > > > > > > > > -- > > > > -Scott Battaglia > > > > > > > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > _______________________________________________ > > > > Yale CAS mailing list > > > > [email protected] > > > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > > > > > > > > _______________________________________________ > > > Yale CAS mailing list > > > [email protected] > > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > > > > > > > -- > > -Scott Battaglia > > > > LinkedIn: http://www.linkedin.com/in/scottbattaglia > > > > _______________________________________________ > > Yale CAS mailing list > > [email protected] > > http://tp.its.yale.edu/mailman/listinfo/cas > > > > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > -- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
