1 Reply Latest reply on Oct 31, 2012 11:22 AM by mposolda

    How to assign a custom role for LDAP users

    poornima.abhi

      Hi,

       

      The LDAP users are accessed in GateIn 3.2.

      To obtain LDAP users, we uncommented the following piece of code in idm-configuration.xml (GateIn-3.2.0.Final-jbossas5\server\default\deploy\gatein.ear\02portal.war\WEB-INF\conf)


      <value>

                 war:/conf/organization/picketlink-idm/examples/picketlink-idm-msad-readonly-config.xml

      </value>

       

       

      A new group called /acme/roles is created and configured it in picketlink-idm-msad-readonly-config.xml

      <entry>

                 <key><string>/acme/roles/*</string></key>
                  <value><string>msad_roles_type</string></value>
      </entry>

       

      But now, it is seen that all the LDAP users are assigned to the group '/acme/roles' with membershiptype 'member'.

      Can we assign a custom membershiptype( a membershiptype created by ourselves, say 'test' ) to such users while obtaining itself?

      In short, the users obtained should be assigned

       

      Group ID   -  acme/roles

      Membershiptype   -  test

        

       

      Thanks in advance..