Hello, > On Sep 12, 2019, at 1:41 AM, Chung Tran <bsk.deni...@gmail.com> wrote: > > - i found about open source project like this : > https://www.programcreek.com/java-api-examples/?code=apache%2Fdirectory-fortress-enmasse%2Fdirectory-fortress-enmasse-master%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fdirectory%2Ffortress%2Frest%2FReviewMgrImpl.java# > > - but it hard to understand.
That is Apache Fortress Rest, a.k.a. Enmasse. It is a Web service interface for the Apache Fortress Core APIs. Fortress is built on top of the Apache LDAP API, providing an RBAC centric schema and functionality over an LDAPv3 backend. > > On Sep 12, 2019, at 1:41 AM, Chung Tran <bsk.deni...@gmail.com> wrote: > > - i can connect to Active Directory Users and Computers(ADUC), via > administrator, write some CRUD user, by using Apache Ldap API in java code. Yes, that is what the LDAP API is for, connecting to disparate LDAP server back ends to perform ad-hoc functionality. > > On Sep 12, 2019, at 1:41 AM, Chung Tran <bsk.deni...@gmail.com> wrote: > > - i want Admin can make permission for user in [Users], use Delegation of > Control to do this, some delegate: create, delete & manage user acc; or Reset > password, etc.(att pic1) > > - Documentation LDAP API dont have content for this. > > Q1: can u help write some demo code to slove Delegation of Control to > permission for user ? > Q2: ldap API access [Reset Password..] (att pic2) in ADUC to reset user pw, > can u have me some demo for slove this? > What do you mean by delegation of control to permission user? Delegation is an advanced topic. What’s more there is not a discernible standard on how its to be done making it difficult to provide examples that have broad applicability. Fortress provides administrative delegation using the ARBAC02 model. I’m sure you could do some searching to learn more if you have interest. What’s more, it has basic CRUD for user’s and groups. I doubt you would find it useful for entries stored in AD, as it has a custom schema that extends inetorgperson. There are also samples and tests in the fortress core repo that show howto do some of these types of things. —Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org