AnsweredAssumed Answered

Random login problem with Microsoft Active Directory

Question asked by Eduardo Rodriguez on May 23, 2018

We have a Pentaho Server 7.1 integrated with Microsoft Active Directory, in which, randomly the login does not work, without displaying any error message, it only redirects to the login screen. This behavior was reproduced in different browsers, and from different PCs.

 

In the log files catalina.out and pentaho.log with basic log level no error is recorded. In DEBUG log level, we have isolated the following fragment that corresponds to the moment in which the error occurs:

 

2018-04-06 14:44:00,234 DEBUG [org.springframework.security.web.access.intercept.FilterSecurityInterceptor] Previously Authenticated: org.springframework.security.authentication.AnonymousAuthenticationToken@449a94ad: Principal: anonymousUser; Credentials: [PROTECTED]; Authenticated: true; Details: org.springframework.security.web.authentication.WebAuthenticationDetails@12afc: RemoteIpAddress: 192.168.245.154; SessionId: 183098F639F120A11BD0C39C6D306FA1.SRVH1023; Granted Authorities: Anonymous

2018-04-06 14:44:00,234 DEBUG [org.springframework.security.access.vote.AffirmativeBased] Voter: org.pentaho.platform.engine.security.PentahoSubstringRoleVoter@1d62c007, returned: -1

2018-04-06 14:44:00,235 DEBUG [org.springframework.security.web.access.ExceptionTranslationFilter] Access is denied (user is anonymous); redirecting to authentication entry point

org.springframework.security.access.AccessDeniedException: Access is denied

    at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:84)

    at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:233)

    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:124)

    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

 

This article refers to the message obtained: https://help.pentaho.com/Documentation/7.0/Troubleshooting/Security_Issues

 

However, the reason and possible solutions to this problem are not clear.

Any help or suggestion is appreciated.

 

Thanks,

Outcomes