Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3394

Add front-office.group.ldap.groupDriven and front-office.group.ldap.usersDriven

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.3, 3.3
    • None
    • None
    • None

      <feature name="front-office.group.ldap.groupDriven">
      <!--
      This features defines the base ldap implementation of groups where the group information is handle by the group object
      -->
      <config>
      <param-ref id="runtime.datasource.core.ldap.baseUrl"/>
      <param-ref id="runtime.datasource.core.ldap.useSSL"/>
      <param-ref id="runtime.datasource.core.ldap.baseDN"/>
      <param-ref id="runtime.datasource.core.ldap.authMethod"/>
      <param-ref id="runtime.datasource.core.ldap.adminDN"/>
      <param-ref id="runtime.datasource.core.ldap.adminPasswd"/>

      <param-ref id="runtime.groups.ldap.groupDN"/>
      <param-ref id="runtime.groups.ldap.filter"/>
      <param-ref id="runtime.groups.ldap.scope"/>
      <param-ref id="runtime.groups.ldap.id"/>
      <param-ref id="runtime.groups.ldap.description"/>
      <param-ref id="runtime.groups.ldap.member"/>

      <param-ref id="runtime.users.ldap.peopleDN"/>
      <param-ref id="runtime.users.ldap.loginAttr"/>
      </config>
      <extensions>
      <extension point="org.ametys.runtime.group.GroupsManager.FO"
      id="org.ametys.web.frontoffice.group.GroupDrivenLdap"
      class="org.ametys.runtime.plugins.core.group.ldap.GroupDrivenLdapGroupsManager"
      logger="org.ametys.web.frontoffice.group.GroupDrivenLdap">
      <BaseUrl>runtime.datasource.core.ldap.baseUrl</BaseUrl>
      <UseSSL>runtime.datasource.core.ldap.useSSL</UseSSL>
      <BaseDN>runtime.datasource.core.ldap.baseDN</BaseDN>
      <AuthenticationMethod>runtime.datasource.core.ldap.authMethod</AuthenticationMethod>
      <AdminDN>runtime.datasource.core.ldap.adminDN</AdminDN>
      <AdminPassword>runtime.datasource.core.ldap.adminPasswd</AdminPassword>

      <RelativeDN>runtime.groups.ldap.groupDN</RelativeDN>
      <Filter>runtime.groups.ldap.filter</Filter>
      <SearchScope>runtime.groups.ldap.scope</SearchScope>
      <Id>runtime.groups.ldap.id</Id>
      <Description>runtime.groups.ldap.description</Description>
      <Member>runtime.groups.ldap.member</Member>

      <UsersRelativeDN>runtime.users.ldap.peopleDN</UsersRelativeDN>
      <Login>runtime.users.ldap.loginAttr</Login>
      </extension>
      </extensions>
      </feature>

      <feature name="front-office.group.ldap.usersDriven">
      <!--
      This features defines the base ldap implementation of groups where the group information is handle by the user object
      -->
      <config>
      <param-ref id="runtime.datasource.core.ldap.baseUrl"/>
      <param-ref id="runtime.datasource.core.ldap.useSSL"/>
      <param-ref id="runtime.datasource.core.ldap.baseDN"/>
      <param-ref id="runtime.datasource.core.ldap.authMethod"/>
      <param-ref id="runtime.datasource.core.ldap.adminDN"/>
      <param-ref id="runtime.datasource.core.ldap.adminPasswd"/>

      <param-ref id="runtime.groups.ldap.groupDN"/>
      <param-ref id="runtime.groups.ldap.filter"/>
      <param-ref id="runtime.groups.ldap.scope"/>
      <param-ref id="runtime.groups.ldap.id"/>
      <param-ref id="runtime.groups.ldap.description"/>
      <param-ref id="runtime.groups.ldap.memberof"/>

      <param-ref id="runtime.users.ldap.peopleDN"/>
      <param-ref id="runtime.users.ldap.baseFilter"/>
      <param-ref id="runtime.users.ldap.scope"/>
      <param-ref id="runtime.users.ldap.loginAttr"/>
      </config>
      <extensions>
      <extension point="org.ametys.runtime.group.GroupsManager.FO"
      id="org.ametys.web.frontoffice.group.UsersDrivenLdap"
      class="org.ametys.runtime.plugins.core.group.ldap.UserDrivenLdapGroupsManager"
      logger="org.ametys.web.frontoffice.group.UsersDrivenLdap">
      <BaseUrl>runtime.datasource.core.ldap.baseUrl</BaseUrl>
      <UseSSL>runtime.datasource.core.ldap.useSSL</UseSSL>
      <BaseDN>runtime.datasource.core.ldap.baseDN</BaseDN>
      <AuthenticationMethod>runtime.datasource.core.ldap.authMethod</AuthenticationMethod>
      <AdminDN>runtime.datasource.core.ldap.adminDN</AdminDN>
      <AdminPassword>runtime.datasource.core.ldap.adminPasswd</AdminPassword>

      <RelativeDN>runtime.groups.ldap.groupDN</RelativeDN>
      <Filter>runtime.groups.ldap.filter</Filter>
      <SearchScope>runtime.groups.ldap.scope</SearchScope>
      <Id>runtime.groups.ldap.id</Id>
      <Description>runtime.groups.ldap.description</Description>
      <MemberOf>runtime.groups.ldap.memberof</MemberOf>

      <UsersRelativeDN>runtime.users.ldap.peopleDN</UsersRelativeDN>
      <UsersFilter>runtime.users.ldap.baseFilter</UsersFilter>
      <UsersSearchScope>runtime.users.ldap.scope</UsersSearchScope>
      <UsersLogin>runtime.users.ldap.loginAttr</UsersLogin>
      </extension>
      </extensions>
      </feature>

            laurence Laurence Aumeunier
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: