Hi,
There are two functions available in userDetailsRoleListService to list the users name for a role: userDetailsRoleListService.getAllUsersInRole(UserRole) and userDetailsRoleListService.getUserRoleListService().getUsernamesInRole(authority)
These function work fine in DB-based authentication.
I have changed the Pentaho Authentication to LDAP and then found that these functions will not work and it only return empty result. Further check in the ldap applicationContext-pentaho-security-ldap.xml file, i found the below syntax, is this syntax related these function, and they are not implemented in LDAP? Hope anyone can advise further. Thank you.
<!-- not currently used -->
<bean id="usernamesInRoleSearch"
class="org.pentaho.platform.plugin.services.security.userrole.ldap.search.NoOpLdapSearch">
</bean>
There are two functions available in userDetailsRoleListService to list the users name for a role: userDetailsRoleListService.getAllUsersInRole(UserRole) and userDetailsRoleListService.getUserRoleListService().getUsernamesInRole(authority)
These function work fine in DB-based authentication.
I have changed the Pentaho Authentication to LDAP and then found that these functions will not work and it only return empty result. Further check in the ldap applicationContext-pentaho-security-ldap.xml file, i found the below syntax, is this syntax related these function, and they are not implemented in LDAP? Hope anyone can advise further. Thank you.
<!-- not currently used -->
<bean id="usernamesInRoleSearch"
class="org.pentaho.platform.plugin.services.security.userrole.ldap.search.NoOpLdapSearch">
</bean>