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.

Google Groups | Mark | 1 year ago
  1. 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.
  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

    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.
  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.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.

      at org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts()
    2. Shiro
      AuthenticatingSecurityManager.authenticate
      1. org.apache.shiro.authc.pam.AtLeastOneSuccessfulStrategy.afterAllAttempts(AtLeastOneSuccessfulStrategy.java:54)[209:org.apache.shiro.core:1.2.3]
      2. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:235)[209:org.apache.shiro.core:1.2.3]
      3. org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:269)[209:org.apache.shiro.core:1.2.3]
      4. org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)[209:org.apache.shiro.core:1.2.3]
      5. org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)[209:org.apache.shiro.core:1.2.3]
      5 frames
    3. ddf.security.service
      SecurityManagerImpl.getSubject
      1. ddf.security.service.impl.SecurityManagerImpl.getSubject(SecurityManagerImpl.java:90)[240:security-core-impl:2.7.1]
      2. ddf.security.service.impl.SecurityManagerImpl.getSubject(SecurityManagerImpl.java:67)[240:security-core-impl:2.7.1]
      2 frames
    4. Unknown
      Proxy93768d2a_4d85_403d_bcc1_649608cf2e77.getSubject
      1. Proxy93768d2a_4d85_403d_bcc1_649608cf2e77.getSubject(Unknown Source)[:]
      1 frame
    5. org.codice.ddf
      DelegateServletFilter.doFilter
      1. org.codice.ddf.security.filter.login.LoginFilter.handleAuthenticationToken(LoginFilter.java:512)[259:security-filter-login:2.7.1]
      2. org.codice.ddf.security.filter.login.LoginFilter.validateRequest(LoginFilter.java:304)[259:security-filter-login:2.7.1]
      3. org.codice.ddf.security.filter.login.LoginFilter.doFilter(LoginFilter.java:244)[259:security-filter-login:2.7.1]
      4. org.codice.ddf.platform.filter.delegate.ProxyFilterChain.doFilter(ProxyFilterChain.java:106)[70:platform-filter-delegate:2.7.1]
      5. org.codice.ddf.security.filter.websso.WebSSOFilter.handleRequest(WebSSOFilter.java:222)[256:security-filter-web-sso:2.7.1]
      6. org.codice.ddf.security.filter.websso.WebSSOFilter.doFilter(WebSSOFilter.java:132)[256:security-filter-web-sso:2.7.1]
      7. org.codice.ddf.platform.filter.delegate.ProxyFilterChain.doFilter(ProxyFilterChain.java:106)[70:platform-filter-delegate:2.7.1]
      8. org.codice.ddf.platform.filter.delegate.DelegateServletFilter.doFilter(DelegateServletFilter.java:102)[70:platform-filter-delegate:2.7.1]
      8 frames
    6. Jetty
      ServletHandler.doHandle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2 frames
    7. OPS4J Pax Web - Jetty
      HttpServiceServletHandler.doHandle
      1. org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69)[69:org.ops4j.pax.web.pax-web-jetty:3.1.2]
      1 frame
    8. Jetty
      ContextHandler.doHandle
      1. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4 frames
    9. OPS4J Pax Web - Jetty
      HttpServiceContext.doHandle
      1. org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:240)[69:org.ops4j.pax.web.pax-web-jetty:3.1.2]
      1 frame
    10. Jetty
      ScopedHandler.handle
      1. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4 frames
    11. OPS4J Pax Web - Jetty
      JettyServerHandlerCollection.handle
      1. org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:77)[69:org.ops4j.pax.web.pax-web-jetty:3.1.2]
      1 frame
    12. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.server.Server.handle(Server.java:366)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      5. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      6. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      7. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      8. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      8 frames
    13. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3 frames
    14. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[60:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[:1.8.0_51]
      1 frame