Jump to content

Authenticating Active Directory without using userDnPatterns


popkorn

Recommended Posts

Hi all,

        I'm authenticating Jasper Server to Microsoft Active Directory. We have lot of OU in our windows active directory.So we can't put each and every active directories in userDnPatterns.Is there any way to config ldapAuthenticationProvider bean.Current ldapAuthenticationProvider bean config are here.

<bean id="ldapAuthenticationProvider"
      class="org.springframework.security.providers.ldap.LdapAuthenticationProvider">
  <constructor-arg>
    <bean
      class="org.springframework.security.providers.ldap.authenticator.BindAuthenticator">
      <constructor-arg><ref local="ldapContextSource"/></constructor-arg>
      <property name="userDnPatterns">
        <list>
          <value>CN={0},OU=IT Service Accounts</value>
 <value>uid={0},OU=LOITS,OU=IT TRAINEE</value>
        </list>
      </property>
  <property name="userSearch" ref="userSearch"/>   
    </bean>
  </constructor-arg>
  
</bean>
Is there any way to do that ?
 
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...