Hi thx for the advices  but i still not connected to AD well this are my
process

first
agregate

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

 to my pom file


later

<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
 <property name="urls">
  <list>
   <value>ldaps://yourdc.yourdomain.edu/</value>
  </list>
 </property>
 <property name="userDn"
value="{cn=bind_user_goes_here,cn=Users,dc=yourdomain,dc=edu}"/>
 <property name="password" value="{bind_user_password_goes_here}"/>
 <property name="baseEnvironmentProperties">
  <map>
   <entry>
     <key>
      <value>java.naming.security.authentication</value>
     </key>
     <value>simple</value>
   </entry>
  </map>
 </property></bean>



this in deloyerconfigcontext.xml


<bean id="contextSource"
class="org.springframework.ldap.core.support.LdapContextSource">
 <property name="urls">
  <list>
   <value>ldaps://yourdc.yourdomain.edu/</value>
  </list>
 </property>
 <property name="userDn"
value="{cn=bind_user_goes_here,cn=Users,dc=yourdomain,dc=edu}"/>
 <property name="password" value="{bind_user_password_goes_here}"/>
 <property name="baseEnvironmentProperties">
  <map>
   <entry>
     <key>
      <value>java.naming.security.authentication</value>
     </key>
     <value>simple</value>
   </entry>
  </map>
 </property></bean>


cahnge userDN and oasword but my service dont star well thx a lot for the help

grettings bicho


2010/8/31 Marvin Addison <marvin.addi...@gmail.com>

> > Note: There maybe a decent .Net CAS client library
>
> There certainly is,
> https://wiki.jasig.org/display/CASC/.Net+Cas+Client.  This is the .NET
> client that everyone should be migrating to.  It's on track to be an
> "official" Jasig client that is fully supported, meaning you'll get
> quick and authoritative answers to questions posted on this list as
> well as sound documentation.
>
> M
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as:
> bichosoft4...@gmail.com
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>



-- 
               Z

 (LI)

¿Suspiras al recordar aquellos días del Minix-1.1, cuando los hombres eran
hombres y escribían sus propios drivers?

Errare humanum est




blog personal

http://bicho-soft.blogspot.com/

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to