<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:53 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-192] Warning displayed when using multiple auth methods</title>
                <link>https://jira.opendaylight.org/browse/AAA-192</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;The system raises an exception for LDAP auth when a local account is used and vice versa. That is, even if the user can successfully authenticate via one method, there is a WARN message regarding the other one. Is there a way to avoid this?&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Configuration:&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&#160; &amp;lt;!-- add tokenAuth and LDAP realms --&amp;gt;
&#160;&#160;&#160; &amp;lt;main&amp;gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; &amp;lt;pair-key&amp;gt;securityManager.realms&amp;lt;/pair-key&amp;gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160; &amp;lt;pair-value&amp;gt;$tokenAuthRealm, $ldapRealm&amp;lt;/pair-value&amp;gt;
&#160;&#160;&#160; &amp;lt;/main&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Local Auth Fail:&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2019-08-27T10:13:56,416 | INFO&#160; | qtp1307418334-3400 | ODLJndiLdapRealm&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 202 - org.opendaylight.aaa.shiro - 0.8.1 |&#160;AAA LDAP connection from admin2019-08-27T10:13:56,419 | WARN&#160; | qtp1307418334-3400 | ModularRealmAuthenticator&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 141 - org.apache.shiro.core - 1.3.2 | Realm [org.opendaylight.aaa.shiro.realm.ODLJndiLdapRealm@3d65171e] threw an exception during a multi-realm authentication attempt:org.apache.shiro.authc.AuthenticationException:&#160;LDAP authentication failed.&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.ldap.DefaultLdapRealm.doGetAuthenticationInfo(DefaultLdapRealm.java:300) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.realm.ODLJndiLdapRealm.doGetAuthenticationInfo(ODLJndiLdapRealm.java:135) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:219) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:269) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter.onAccessDenied(BasicHttpAuthenticationFilter.java:227) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:51) [163:org.eclipse.jetty.servlets:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:205) [172:org.eclipse.jetty.websocket.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:86) [199:org.opendaylight.aaa.filterchain:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [159:org.eclipse.jetty.security:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:296) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.Server.handle(Server.java:539) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:251) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:748) [?:?]Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3154) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3100) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2886) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2800) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:319) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:192) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:210) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:153) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:83) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at javax.naming.InitialContext.init(InitialContext.java:244) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at javax.naming.ldap.InitialLdapContext.&amp;lt;init&amp;gt;(InitialLdapContext.java:154) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.ldap.JndiLdapContextFactory.createLdapContext(JndiLdapContextFactory.java:508) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.ldap.JndiLdapContextFactory.getLdapContext(JndiLdapContextFactory.java:495) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.ldap.DefaultLdapRealm.queryForAuthenticationInfo(DefaultLdapRealm.java:375) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.ldap.DefaultLdapRealm.doGetAuthenticationInfo(DefaultLdapRealm.java:295) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; ... 59 more
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;LDAP Auth Failure&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2019-08-27T10:14:15,691 | WARN&#160; | qtp1307418334-3335 | ModularRealmAuthenticator&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 141 - org.apache.shiro.core - 1.3.2 | Realm [org.opendaylight.aaa.shiro.realm.TokenAuthRealm@2fbcffc1] threw an exception during a multi-realm authentication attempt:org.opendaylight.aaa.api.AuthenticationException: User :d618585 does not exist in domain sdn&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.idm.IdmLightProxy.dbAuthenticate(IdmLightProxy.java:102) ~[?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) [?:?]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:67) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.idm.IdmLightProxy.authenticate(IdmLightProxy.java:40) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.generateAuthentication(HttpBasicAuth.java:102) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160; &#160;at org.opendaylight.aaa.shiro.tokenauthrealm.auth.HttpBasicAuth.validate(HttpBasicAuth.java:122) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.shiro.realm.TokenAuthRealm.doGetAuthenticationInfo(TokenAuthRealm.java:148) [202:org.opendaylight.aaa.shiro:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doMultiRealmAuthentication(ModularRealmAuthenticator.java:219) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:269) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.authc.AuthenticatingFilter.executeLogin(AuthenticatingFilter.java:53) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.authc.BasicHttpAuthenticationFilter.onAccessDenied(BasicHttpAuthenticationFilter.java:227) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.AccessControlFilter.onAccessDenied(AccessControlFilter.java:133) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.AccessControlFilter.onPreHandle(AccessControlFilter.java:162) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.PathMatchingFilter.isFilterChainContinued(PathMatchingFilter.java:203) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.filter.PathMatchingFilter.preHandle(PathMatchingFilter.java:178) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:131) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [141:org.apache.shiro.core:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [142:org.apache.shiro.web:1.3.2]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:51) [163:org.eclipse.jetty.servlets:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:205) [172:org.eclipse.jetty.websocket.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:86) [199:org.opendaylight.aaa.filterchain:0.8.1]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [159:org.eclipse.jetty.security:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:296) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [162:org.eclipse.jetty.servlet:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [377:org.ops4j.pax.web.pax-web-jetty:6.0.11]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.Server.handle(Server.java:539) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:333) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [161:org.eclipse.jetty.server:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:251) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [153:org.eclipse.jetty.io:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [164:org.eclipse.jetty.util:9.3.24.v20180605]&#160;&#160;&#160;&#160;&#160;&#160;&#160; at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:748) [?:?]2019-08-27T10:14:15,693 | INFO&#160; | qtp1307418334-3335 | ODLJndiLdapRealm&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 202 - org.opendaylight.aaa.shiro - 0.8.1 | AAA LDAP connection from d618585
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="32235">AAA-192</key>
            <summary>Warning displayed when using multiple auth methods</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.opendaylight.org/" description="">In Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ojo">Oleksandr Zharov</assignee>
                                    <reporter username="tnevrekar">Tejas Nevrekar</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Wed, 4 Dec 2019 08:12:49 +0000</created>
                <updated>Mon, 22 Aug 2022 09:52:27 +0000</updated>
                                                                            <component>General</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="67811" author="gvrangan" created="Tue, 4 Feb 2020 18:44:38 +0000"  >&lt;p&gt;Looking at the implementation of apache shiro 1.3.2, this WARN message cannot be blocked by any configuration in AAA application.&lt;br/&gt;
The only way is to set log level for org.apache.shiro as ERROR.&lt;/p&gt;</comment>
                            <comment id="67817" author="gvrangan" created="Wed, 5 Feb 2020 08:47:18 +0000"  >&lt;p&gt;The way multiple realms works is as follows&lt;br/&gt;
a. The credentials are vailadated by all the suggested realms&lt;/p&gt;

&lt;p&gt;b. Even if one is successful, the request is responded. (This behavior can be changed by using different configuration in aaa-app-config xml)&lt;br/&gt;
  Ref: &lt;a href=&quot;https://shiro.apache.org/static/1.3.2/apidocs/org/apache/shiro/authc/pam/AuthenticationStrategy.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://shiro.apache.org/static/1.3.2/apidocs/org/apache/shiro/authc/pam/AuthenticationStrategy.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;c. The warning being displayed can be only avoaidded using the suggested log settings.&lt;br/&gt;
   (currently AAA uses Apache Shiro 1.3.2, the future shiro versions logs this at DEBUG so should not be an issue)&lt;/p&gt;</comment>
                            <comment id="68724" author="gvrangan" created="Thu, 22 Oct 2020 15:44:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=tnevrekar&quot; class=&quot;user-hover&quot; rel=&quot;tnevrekar&quot;&gt;tnevrekar&lt;/a&gt;Can we close this issue?&lt;/p&gt;</comment>
                            <comment id="68725" author="rovarga" created="Thu, 22 Oct 2020 16:18:52 +0000"  >&lt;p&gt;I think we need the Shiro upgrade first.&lt;/p&gt;</comment>
                            <comment id="71301" author="rovarga" created="Wed, 6 Jul 2022 11:46:04 +0000"  >&lt;p&gt;Needs to be checked whether this is still present.&lt;/p&gt;</comment>
                            <comment id="71331" author="ivanhrasko" created="Thu, 28 Jul 2022 10:28:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ojo&quot; class=&quot;user-hover&quot; rel=&quot;ojo&quot;&gt;ojo&lt;/a&gt; The log you have provided in &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/17914/17914_karaf.log&quot; title=&quot;karaf.log attached to AAA-192&quot;&gt;karaf.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt; is too big and contains a lot of exceptions. I am unsure if they mean some error during auth or not. Please try the following to make logs shorter:&lt;/p&gt;

&lt;p&gt;log:clear&lt;/p&gt;

&lt;p&gt;do auth using local account&lt;/p&gt;

&lt;p&gt;log:tail&lt;/p&gt;

&lt;p&gt;copy log to this issue attachments&lt;/p&gt;

&lt;p&gt;and repeat the same for LDAP case.&lt;/p&gt;</comment>
                            <comment id="71332" author="JIRAUSER14403" created="Thu, 28 Jul 2022 10:59:01 +0000"  >&lt;p&gt;Added new log. I cleared all old logs. Now there info from karaf start, requests from three users and karaf stop.&lt;/p&gt;</comment>
                            <comment id="71333" author="JIRAUSER14403" created="Thu, 28 Jul 2022 11:00:53 +0000"  >&lt;p&gt;I tried to reproduce issue and failed. All info about it is in attachments. It&apos;s either no longer exist or it should be tested in other way.&lt;/p&gt;</comment>
                            <comment id="71420" author="ivanhrasko" created="Mon, 22 Aug 2022 09:52:27 +0000"  >&lt;p&gt;The file &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/17914/17914_karaf.log&quot; title=&quot;karaf.log attached to AAA-192&quot;&gt;karaf.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;shows that there are no more logs like:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
LDAP authentication failed.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;in the case of successful local user authentication.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;In the case when LDAP authentication is successful we do not see any:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
User :d618585 does not exist in domain sdn. &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;logs any more.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="32147">AAA-188</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17911" name="Investigation.md" size="4192" author="ojo" created="Thu, 28 Jul 2022 09:51:21 +0000"/>
                            <attachment id="17914" name="karaf.log" size="6046" author="ojo" created="Thu, 28 Jul 2022 12:48:27 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03q9b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>