Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: IUserRoleListService get all users never called

  1. #1
    Join Date
    Jan 2016

    Default IUserRoleListService get all users never called

    Hi to all,
    im facing up to the integration of Pentaho authentication mechanism with the my enterprise one.
    Making reference to Pentaho Guidelines, i have built a CustomAuthenticationProvider querying my users database in order to perform authentication.

    The main services i have dealt with are:
    UserDetailsService interface
    IUserRoleListService interface

    The second one is responsible to handle all the functionalities related to users, roles, and user-roles mapping. But there is a problem:
    While roles related methods like:
    public List<String> getAllRoles() or public List<String> getRolesForUser(ITenant tenant, String username)

    are correctly invoked (returning al the Klopotek roles), this doesn’t seem to happen with all methods relating to users, such us:
    public List<String> getAllUsers()

    which are never invoked instead.

    I thought these methods were designated to the users list loading together with all the informations displayed inside the Users&Roles Pentaho Console page.
    But what i get, as final result is that there are listed just the default existent users: Admin,Pat,Suzy,Tiffany.

    Where am i wrong? Is there some configuration setting missed inside the spring security context?
    Really thanks.

  2. #2
    Join Date
    Nov 2011


    I think that's by design. We never try to get all users from an external authentication provider.

    For some cases, getting all users could mean bringing in thousands of users.
    Pedro Vale
    CTools Product Development

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.