Hitachi Vantara Pentaho Community Forums
Results 1 to 1 of 1

Thread: Pentaho 7 Login Error using LDAP/JDBC Hybrid configuration

  1. #1
    Join Date
    May 2014
    Posts
    6

    Default Pentaho 7 Login Error using LDAP/JDBC Hybrid configuration

    I've followed Pentaho 7 (EE) documentation on how to set LDAP/JDBC hybrid configuration: created the tables and filled them with the appropriate values then updated the configuration files as instructed.

    When trying to login to the PUC the following error is thrown:

    java.util.concurrent.ExecutionException: javax.jcr.LoginException:
    LoginModule could not perform authentication:Target of Bean was never
    resolved
    :
    org
    .springframework.security.core.userdetails.UserDetailsService

    My security.properties includes
    provider=ldap
    role
    .provider=jdbc

    I set the providerName in pentahoObjects.spring.xml to jdbc
    <pen:bean id="activeUserRoleListService"class="org.pentaho.platform.api.engine.IUserRoleListService">
    <pen:attributes>
    <pen:attr key="providerName" value="jdbc"/>
    </pen:attributes>
    </pen:bean>

    applicationContext-spring-security-jdbc.properties is properly configured

    I set jdbcRoleMap in applicationContext-pentaho-security-jdbc.xml to my jdbc admin group

    And repalced: org.springframework.security.ldap.populator.DefaultLdapAuthoritiesPopulatorwith:
    <bean id="populator"class="org.springframework.security.ldap.authentication.UserDetailsServiceLdapAuthoritiesPopulator">
    <constructor-arg ref="jdbcUserDetailsService"/>
    </bean>
    Last edited by jamalG; 01-29-2018 at 12:33 PM.

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.