org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.

JIRA | Yannick Marcon | 6 years ago
  1. 0

    Starting Opal. 2011-02-21 13:24:38,308 - ERROR - quartz.core.JobRunShell - Job reports.tata threw an unhandled Exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 2011-02-21 13:24:38,311 - ERROR - quartz.core.ErrorLogger - Job (reports.tata threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) ... 1 more Opal Server successfully started. Opal is attached to this console. Press ctrl-c to stop. 21-Feb-2011 1:24:58 PM liquibase.database.AbstractDatabase setConnection WARNING: Can not set auto commit to false on connection

    JIRA | 6 years ago | Yannick Marcon
    org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.
  2. 0

    Starting Opal. 2011-02-21 13:24:38,308 - ERROR - quartz.core.JobRunShell - Job reports.tata threw an unhandled Exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) 2011-02-21 13:24:38,311 - ERROR - quartz.core.ErrorLogger - Job (reports.tata threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens. at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80) at org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) ... 1 more Opal Server successfully started. Opal is attached to this console. Press ctrl-c to stop. 21-Feb-2011 1:24:58 PM liquibase.database.AbstractDatabase setConnection WARNING: Can not set auto commit to false on connection

    JIRA | 6 years ago | Yannick Marcon
    org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.
  3. 0

    SimpleAuthZRealm error in 2.7.0

    Google Groups | 1 year ago | Mark
    org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.codice.ddf.security.handler.api.PKIAuthenticationToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    clean installation of 0.20-p4 fails to authenticate for the first time

    Google Groups | 3 years ago | Maciej Strömich
    org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.apache.shiro.authc.UsernamePasswordToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.
  6. 0

    Zeppelin LDAP authentication

    Stack Overflow | 3 months ago | user3600073
    org.apache.shiro.authc.AuthenticationException: Authentication token of type [class org.apache.shiro.authc.UsernamePasswordToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.shiro.authc.AuthenticationException

      Authentication token of type [class org.obiba.opal.web.shell.security.BackgroundJobServiceAuthToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.

      at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts()
    2. Shiro
      AuthenticatingSecurityManager.authenticate
      1. org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54)
      2. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:232)
      3. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:266)
      4. org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)
      5. org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
      5 frames
    3. org.obiba.opal
      QuartzCommandJob.execute
      1. org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.getSubject(QuartzCommandJob.java:80)
      2. org.obiba.opal.shell.service.impl.quartz.QuartzCommandJob.execute(QuartzCommandJob.java:59)
      2 frames
    4. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:216)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      2 frames