Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


update LDAP manager security credentials to use permanent manager logi

update LDAP manager security credentials to use permanent manager logi

update LDAP manager security credentials to use permanent manager logi

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"

    <bean id="userSearch"
        <constructor-arg index="0" value="ou=IGGroup,ou=IG Users" />
        <constructor-arg index="1" value="sAMAccountName={0}" />
        <constructor-arg index="2" ref="initialDirContextFactory" />
        <property name="searchSubtree" value="true" />
        <bean id="userSearch"
        <constructor-arg index="0"
        value="ou=IT,ou=IGUK,ou=IGGroup,ou=IG Users" />
        <constructor-arg index="1"
        value="((objectclass=user)(sAMAccountName=KoprulM)(memberOf=CN=RLE-IT-DEVELOPMENT-TESTING-Testing and Analysis Staff,OU=Role,OU=Security Groups,OU=Administrative Area,DC=igi,DC=ig,DC=local))" />
        <constructor-arg index="2" ref="initialDirContextFactory" />
        <property name="searchSubtree" value="true" />
    <bean id="ldapAuthProvider"
                <constructor-arg ref="initialDirContextFactory" />
                <property name="userSearch" ref="userSearch" />
        <constructor-arg ref="ldapAuthoritiesPopulator" />


    <bean id="ldapAuthoritiesPopulator"
        <constructor-arg ref="initialDirContextFactory" />
            value="ou=Role,ou=Security Groups,ou=Administrative Area" />





      <bean id="initialDirContextFactory"
            value="ldap://igi.ig.local:389/dc=igi,dc=ig,dc=local" />
        <property name="extraEnvVars" ref="environmentMap" />

        <property name="managerDn" value="igi\patharh" />
        <property name="managerPassword" value="******" />

    <util:map id="environmentMap" map-class="java.util.HashMap">
        <entry key="java.naming.security.principal" value="user" />
        <entry key="java.naming.security.credentials" value="password" />
        <entry key="java.naming.security.authentication" value="simple" />
        <entry key="java.naming.factory.initial"
            value="com.sun.jndi.ldap.LdapCtxFactory" />


This is the xml we are using where we are hard-coding the username
and password(here i have given as *****).
i have a login pase and have used spring framework's acegi security and integrated it with ldap.

can any one help me out what needs to be done?please!!!!!!!  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close