java.lang.Exception

Authentication failed

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1567

  • via Sonatype JIRA by Tamás Cservenák, 1 year ago
    Authentication failed
  • via Google Groups by yc28...@yahoo.com.sg, 1 year ago
    Authentication Failed
  • via Oracle Community by 567538, 1 year ago
    Authentication Failed
  • Stack trace

    • java.lang.Exception: Authentication failed at org.sonatype.nexus.rapture.internal.ui.SecurityComponent.login(SecurityComponent.java:106)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_60] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_60] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeJavaMethod(DispatcherBase.java:142)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.invokeMethod(DispatcherBase.java:133)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at org.sonatype.nexus.extdirect.internal.ExtDirectServlet$3.invokeMethod(ExtDirectServlet.java:205)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.dispatcher.DispatcherBase.dispatch(DispatcherBase.java:63)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.processor.standard.StandardRequestProcessorBase.dispatchStandardMethod(StandardRequestProcessorBase.java:73)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequest(JsonRequestProcessor.java:502)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.processIndividualRequestsInThisThread(JsonRequestProcessor.java:150)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.processor.standard.json.JsonRequestProcessor.process(JsonRequestProcessor.java:133)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.router.RequestRouter.processJsonRequest(RequestRouter.java:83)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.processRequest(DirectJNgineServlet.java:617)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at com.softwarementors.extjs.djn.servlet.DirectJNgineServlet.doPost(DirectJNgineServlet.java:580)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at org.sonatype.nexus.extdirect.internal.ExtDirectServlet.doPost(ExtDirectServlet.java:126)[nexus-extdirect-plugin-3.0.0-SNAPSHOT.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)[javax.servlet-3.0.0.v201112011016.jar:na] at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[javax.servlet-3.0.0.v201112011016.jar:na] at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:300)[nexus-extender/:na] at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:284)[nexus-extender/:na] at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:187)[nexus-extender/:na] at com.google.inject.servlet.AbstractServletPipeline.service(AbstractServletPipeline.java:61)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[nexus-extender/:na] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[nexus-extender/:na] at org.sonatype.nexus.web.SecurityFilter.executeChain(SecurityFilter.java:73)[nexus-extender/:na] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[nexus-extender/:na] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[nexus-extender/:na] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[nexus-extender/:na] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[nexus-extender/:na] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[nexus-extender/:na] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135)[nexus-licensing-plugin-3.0.0-SNAPSHOT.jar:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:70)[nexus-extender/:na] at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[nexus-extender/:na] at com.google.inject.servlet.AbstractFilterPipeline.dispatch(AbstractFilterPipeline.java:95)[nexus-extender/:na] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133)[nexus-extender/:na] at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130)[nexus-extender/:na] at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203)[nexus-extender/:na] at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130)[nexus-extender/:na] at org.sonatype.nexus.webapp.DelegatingFilter.doFilter(DelegatingFilter.java:72)[classes/:na] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[jetty-servlet-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at com.codahale.metrics.jetty8.InstrumentedHandler.handle(InstrumentedHandler.java:192)[metrics-jetty8-3.0.2.jar:3.0.2] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.Server.handle(Server.java:370)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:960)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1021)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[jetty-http-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.11.v20130520.jar:8.1.11.v20130520] at java.lang.Thread.run(Thread.java:745)[na:1.7.0_60] Caused by: org.sonatype.security.authentication.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. at org.sonatype.security.DefaultSecuritySystem.login(DefaultSecuritySystem.java:146)[nexus-extender/:na] at org.sonatype.nexus.rapture.internal.ui.SecurityComponent.login(SecurityComponent.java:101)[na:na] ... 76 more Caused by: 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. at org.sonatype.security.authentication.FirstSuccessfulModularRealmAuthenticator.doMultiRealmAuthentication(FirstSuccessfulModularRealmAuthenticator.java:81)[nexus-extender/:na] at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:269)[nexus-extender/:na] at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)[nexus-extender/:na] at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)[nexus-extender/:na] at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)[nexus-extender/:na] at org.apache.shiro.nexus.NexusWebSecurityManager.login(NexusWebSecurityManager.java:36)[nexus-extender/:na] at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)[nexus-extender/:na] at org.sonatype.security.DefaultSecuritySystem.login(DefaultSecuritySystem.java:142)[nexus-extender/:na] ... 77 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.