The user group manager defines how groups are managed. The choice of manager is an integral part of the CMS Ametys integration process.

The group manager is a single extension pointThis means that only one implementation can be used at a time. Its identifier is org.ametys.runtime.group.GroupsManager.

The choice of user manager is made either via the WEB-INF/param/runtime.xml of the application (cf. Runtime file.xml) or through thePlugins and Workspace"Available from the administration interface.

To date, the default extensions available for this extension point are :

org.ametys.runtime.plugins.core.group.Empty

Implementation org.ametys.runtime.plugins.core.group.Empty does not supply any groups.

Use it when you don't want to manage user groups.

org.ametys.runtime.plugins.core.group.ModifiableJdbcCore

In this implementation, groups are stored in a Jdbc database ( Groups table). The database used is the application's "core" database, which can be configured in the application's configuration parameters.

Further information
To use your own database, please go to Custom database user groups.

org.ametys.runtime.plugins.core.group.GroupDrivenLdap

This implementation specifies that groups are stored in the LDAP directory, so that a group contains the list of users that make it up.

org.ametys.runtime.plugins.core.group.UsersDrivenLdap

This implementation indicates that groups are stored in the LDAP directory, so that a user contains the group to which he/she belongs.

Please note that in this case, it is not possible to efficiently retrieve the list of users in a group. As a result, some of CMS 's functions may not work, such as sending a mail to a group of users (there will be no errors, but mail will not be sent).

org.ametys.runtime.plugins.core.group.UsersDrivenLdapAndJdbc

This implementation is a combination of org.ametys.runtime.plugins.core.group.UsersDrivenLdap and org.ametys.runtime.plugins.core.group.ModifiableJdbcCore

Groups are either stored in the LDAP directory (so that a user contains the group to which he/she belongs), or stored in the database (the latter being modifiable).

org.ametys.runtime.plugins.core.group.GroupDrivenLdapAndJdbc

This implementation is a combination of org.ametys.runtime.plugins.core.group.GroupDrivenLdap and org.ametys.runtime.plugins.core.group.ModifiableJdbcCore

Groups are either stored in the LDAP directory (so that a group contains the list of users that make it up), or stored in the database (the latter being modifiable).

 

Limitation
For the last 2 implementations described, when consulting groups from the administration interface, it is not possible to distinguish between groups from the LDAP directory and those from the database. As groups from the LDAP directory cannot be modified, an error will be displayed if you try to modify a LDAP group.

Back to top