org.apache.shiro.authc.AuthenticationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Yannick Marcon,
  • 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
    via by Yannick Marcon,
  • SimpleAuthZRealm error in 2.7.0
    via by Mark,
  • Issue with login
    via by wingZero21,
  • Zeppelin LDAP authentication
    via Stack Overflow by user3600073
    ,
    • 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)

    Users with the same issue

    kidkid
    6 times, last one,