I have Pentaho 5.4 and I am trying to use my own custom Authentication Manager. I have replaced authentication manager in the applicationContext-spring-security.xml with my own like this:
And I can log in fine, however, the main screen in not showing up, and I am getting this error in the log:
There also seems to be some Jackrabbit errors as well, which I don't understand as I am not using Jackrabbit, JDBC, or LDAP, but my own.
Any ideas? I also can't seem to find a tutorial (newer one 5+) on how to use a custom login. Not a custom JDBC, or custom LDAP, but just my own. I am well versed in Spring Security, but it seems Pentaho is doing something else.
Code:
<!-- ======================== AUTHENTICATION ======================= -->
<jee:jndi-lookup id="oracleDS" jndi-name="jdbc/Sso" resource-ref="true" />
<bean id="myAuthenticator" class="com.my.pentaho.Authentication.MyAuthenticator">
<property name="dataSource">
<ref local="oracleDS" />
</property>
</bean>
<bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager">
<property name="providers">
<list>
<pen:bean class="org.springframework.security.providers.AuthenticationProvider"/>
<ref local="myAuthenticator" />
</list>
</property>
</bean>
Code:
ERROR [BackingRepositoryLifecycleManagerAuthenticationSuccessListener] Repository access exception; nested exception is javax.jcr.security.AccessControlException: Principal Michael-/pentaho/tenant0 does not exist.
org.springframework.extensions.jcr.JcrSystemException: Repository access exception; nested exception is javax.jcr.security.AccessControlException: Principal Michael-/pentaho/tenant0 does not exist.
Any ideas? I also can't seem to find a tutorial (newer one 5+) on how to use a custom login. Not a custom JDBC, or custom LDAP, but just my own. I am well versed in Spring Security, but it seems Pentaho is doing something else.