Anonymous | Login | Signup for a new account | 12-17-2024 08:38 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004143 | [Resin] | minor | always | 07-27-10 17:34 | 01-18-11 15:17 | ||||
Reporter | emil | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.9 | ||||||
Summary | 0004143: authenticator injection conflicts | ||||||||
Description |
The <resin:AdminAuthenticator> and any other authenticator conflict when using logins such as <resin:FormLogin>, etc. Recommend adding qualifier or name-based specification of the authenticator to the logins. E.g.: <resin:FormLogin> <auth><resin:Admin/><auth> </resin:FormLogin> or <resin:FormLogin> <auth>my-authenticator<auth> </resin:FormLogin> |
||||||||
Additional Information |
javax.enterprise.inject.AmbiguousResolutionException: Too many beans match, because they all have equal precedence. See the @Stereotype and <enable> tags to choose a precedence. Beans: ManagedBeanImpl[AdminAuthenticator, {@com.caucho.config.Admin(), @javax.enterprise.inject.Default(), @Any()}, @Singleton] ManagedBeanImpl[XmlAuthenticator, {@Default(), @Any()}, @Singleton] for InjectManager[web-app:http://default/resin-admin] [^] at com.caucho.config.inject.InjectManager.ambiguousException(InjectManager.java:2412) at com.caucho.config.inject.InjectManager.resolve(InjectManager.java:1622) at com.caucho.config.inject.InstanceImpl.get(InstanceImpl.java:78) at com.caucho.security.AbstractLogin.getAuthenticator(AbstractLogin.java:121) at com.caucho.security.AbstractLogin.getSingleSignon(AbstractLogin.java:138) at com.caucho.security.AbstractLogin.findSavedUser(AbstractLogin.java:330) at com.caucho.security.AbstractLogin.getUserPrincipal(AbstractLogin.java:255) at com.caucho.security.LoginList.getUserPrincipal(LoginList.java:116) at com.caucho.server.http.AbstractCauchoRequest.getUserPrincipal(AbstractCauchoRequest.java:488) at com.caucho.rewrite.IfUserInRole.isMatch(IfUserInRole.java:84) at com.caucho.rewrite.Not.isMatch(Not.java:103) at com.caucho.server.rewrite.MatchFilterChain.doFilter(MatchFilterChain.java:78) at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:131) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183) at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:92) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:286) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:789) at com.caucho.network.listen.TcpSocketLink.dispatchRequest(TcpSocketLink.java:662) at com.caucho.network.listen.TcpSocketLink.handleRequestsImpl(TcpSocketLink.java:625) at com.caucho.network.listen.TcpSocketLink.handleRequests(TcpSocketLink.java:576) at com.caucho.network.listen.TcpSocketLink$AcceptTask.doTask(TcpSocketLink.java:1157) at com.caucho.network.listen.TcpSocketLink$ConnectionReadTask.runThread(TcpSocketLink.java:1092) at com.caucho.network.listen.TcpSocketLink$AcceptTask.run(TcpSocketLink.java:1124) at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:169) at com.caucho.env.thread.ResinThread.run(ResinThread.java:126) |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |