> On Oct 18, 2016, at 6:30 AM, Patrick Brunmayr <p.brunm...@linzag.at> wrote:
> 
> Docs say there is something like a group
> 
> https://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/model/Group.html
> 
> What is it used for ? User doesn't provide a method to get the groups.
> Neither does AdminMgr provide methods to do group manipulation.
> 

The groupmgr can be used to manage groups of roles or users:
http://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/GroupMgr.html

The group / role capability has been added recently so you will need to wait 
for next release or build the snapshot to try it out.

https://issues.apache.org/jira/browse/FC-144

> 
> On Oct 18, 2016, at 6:30 AM, Patrick Brunmayr <p.brunm...@linzag.at> wrote:
> 
> I mean there is
> 
> https://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/ant/Addgroup.html
> 
> But why is it there ?

That class is used by a utility to perform bulk loads using an xml script, e.g.

https://github.com/apache/directory-fortress-core/blob/master/ldap/setup/LdapGroupSetup.xml

There’s a bit more info here:
http://directory.apache.org/fortress/gen-docs/latest/apidocs/org/apache/directory/fortress/core/ant/FortressAntTask.html

Shawn

Reply via email to