hi,

Apache Directory Service Component can be used to start an ldap server
internally for carbon framework.

Currently this component has developed as a normal carbon component under
the carbon-component. I have tested this component by
starting it within my IDE and editing the user-mgt.xml to point to that.

i.e with the following configuration.

<UserStoreManager
            class="org.wso2.carbon.user.core.ldap.LDAPUserStoreManager">
            <Property name="ConnectionURL">ldap://localhost:10389</Property>
            <Property name="ConnectionName">uid=admin,ou=system</Property>
            <Property name="ConnectionPassword">secret</Property>
            <Property name="UserSearchBase">ou=system</Property>
             <Property
name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
            <Property name="UserNameAttribute">mail</Property>
        </UserStoreManager>

It works fine and I can login to the carbon console using the user name
admin and pass secret.

But there is a problem with integrating this with the carbon framework. As
you can see since user manager points to this
bundle this has to start first and hence it should go under the carbon
folder ( I mean need to move this component to carbon project).
Then user manager has to wait until this component starts up.

Can we move this to carbon and do the above change to user manager?

What are the other requirements of this component? So far it can use as the
internal ldap userStoreManager but have to configure the ssl etc..

thanks,
Amila.
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to