Jump to content
Changes to the Jaspersoft community edition download ×



Recommended Posts

thank you to help me

I have a problem to the level of connection ldap he/it can connect with name and first name but with the login is not able to he/it indicates to me that untraceable login has the code [file name=Nouveau_Document_texte.xml




For LDAP authentication

This bean is not used by default -->


<bean id="userSearch" class="org.acegisecurity.ldap.search.FilterBasedLdapUserSearch">

<constructor-arg index="0">



<constructor-arg index="1">



<constructor-arg index="2">

<ref local="initialDirContextFactory" />


<property name="searchSubtree">








For LDAP authentication -->


<bean id="ldapAuthenticationProvider" class="org.acegisecurity.providers.ldap.LdapAuthenticationProvider">


<bean class="org.acegisecurity.providers.ldap.authenticator.BindAuthenticator">

<constructor-arg><ref local="initialDirContextFactory"/></constructor-arg>

<property name="userSearch"> ref="userSearch"/>

<property name="userDnPatterns"><list><value>sAMAccountName={0},ou=*</value></list></property>





<bean class="org.acegisecurity.providers.ldap.populator.DefaultLdapAuthoritiesPopulator">

<constructor-arg index="0"><ref local="initialDirContextFactory"/></constructor-arg>

<constructor-arg index="1"><value></value></constructor-arg>

<property name="groupRoleAttribute"><value>ou</value></property>

<property name="groupSearchFilter"><value>(&(objectclass=sAMAccountName)(ou=*))</value></property>






Post edited by: sbenbli, at: 2007/05/26 07:33

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...