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.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Yannick Marcon, 1 year ago
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.
via Stack Overflow by Ussr11221122
, 2 months ago
Authentication token of type [class io.buji.pac4j.ClientToken] could not be authenticated by any configured realms. Please ensure that at least one realm can authenticate these tokens.
via Google Groups by Maciej Strömich, 2 years ago
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.
via Google Groups by wingZero21, 2 years ago
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.
via Google Groups by Mark, 10 months ago
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.
via Stack Overflow by user3600073
, 1 year ago
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.
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)

Users with the same issue

Once, 3 weeks ago
6 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.