<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:56 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-215] Shiro throws a warning about SecurityManager</title>
                <link>https://jira.opendaylight.org/browse/AAA-215</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;The following splat happens in&lt;/p&gt;

&lt;p&gt;:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-07-26T03:51:44,953 | WARN &#160;| qtp1591851327-398 | HttpChannel &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 160 - org.eclipse.jetty.util - 9.4.40.v20210413 | /jolokia/read/org.opendaylight.controller:Category=ShardManager,name=shard-manager-config,type=DistributedConfigDatastore
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. &#160;This is an invalid application configuration.
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:123) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.shiro.subject.Subject$Builder.&amp;lt;init&amp;gt;(Subject.java:626) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:56) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.aaa.authenticator.ODLAuthenticator.login(ODLAuthenticator.java:87) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.aaa.authenticator.ODLAuthenticator.authenticate(ODLAuthenticator.java:59) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.jolokia.osgi.security.ServiceAuthenticationHttpContext.handleSecurity(ServiceAuthenticationHttpContext.java:72) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.internal.WebContainerContextWrapper.handleSecurity(WebContainerContextWrapper.java:46) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:69) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:294) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:82) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) ~[bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036) [bundleFile:9.4.40.v20210413]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Thread.java:829) [?:?]

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="34227">AAA-215</key>
            <summary>Shiro throws a warning about SecurityManager</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                            <label>regression</label>
                    </labels>
                <created>Mon, 26 Jul 2021 10:02:07 +0000</created>
                <updated>Mon, 31 Oct 2022 10:10:08 +0000</updated>
                            <resolved>Tue, 16 Aug 2022 18:10:10 +0000</resolved>
                                    <version>0.16.0</version>
                                    <fixVersion>0.16.1</fixVersion>
                    <fixVersion>0.15.6</fixVersion>
                    <fixVersion>0.14.14</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71303" author="rovarga" created="Wed, 6 Jul 2022 11:52:10 +0000"  >&lt;p&gt;I failed to link the CSIT run, hence we need to try to re-create the issue.&lt;/p&gt;</comment>
                            <comment id="71322" author="JIRAUSER14403" created="Thu, 14 Jul 2022 12:26:55 +0000"  >&lt;p&gt;Added steps to reproduce. I tried debug it but on step when we getting SecurityManager from resources by key it just return null and I don&apos;t know where to go after.&lt;/p&gt;</comment>
                            <comment id="71323" author="ivanhrasko" created="Thu, 14 Jul 2022 14:56:00 +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; can you attach logs too? To verify that you hit the same issue.&lt;/p&gt;</comment>
                            <comment id="71324" author="JIRAUSER14403" created="Thu, 14 Jul 2022 15:12:49 +0000"  >&lt;p&gt;Done&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="71412" author="rovarga" created="Tue, 16 Aug 2022 16:19:15 +0000"  >&lt;p&gt;Duplicated by &lt;a href=&quot;https://jira.opendaylight.org/browse/AAA-229&quot; title=&quot;ODLAuthenticator does not work&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AAA-229&quot;&gt;&lt;del&gt;AAA-229&lt;/del&gt;&lt;/a&gt;, where this should be fixed.&lt;/p&gt;</comment>
                            <comment id="71413" author="rovarga" created="Tue, 16 Aug 2022 16:23:36 +0000"  >&lt;p&gt;This might be happening due to initialization delays, where static environment is just not ready when Jolokia is queried.&lt;br/&gt;
Might be caused by &lt;a href=&quot;https://jira.opendaylight.org/browse/AAA-210&quot; title=&quot;Convert ODLAuthenticator into a component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AAA-210&quot;&gt;&lt;del&gt;AAA-210&lt;/del&gt;&lt;/a&gt; in previous releases.&lt;/p&gt;</comment>
                            <comment id="71414" author="rovarga" created="Tue, 16 Aug 2022 16:42:35 +0000"  >&lt;p&gt;The interesting bit here is that we are invoking Jolokia authenticator for RESTCONF resources &amp;#8211; I wonder why that is.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="36119">AAA-229</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="33513">AAA-210</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36000">AAA-225</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="17907" name="Steps to reproduce.TXT" size="3592" author="ojo" created="Thu, 14 Jul 2022 08:59:55 +0000"/>
                            <attachment id="17908" name="logs.log" size="165007" author="ojo" created="Thu, 14 Jul 2022 15:11:20 +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|i03yyv:</customfieldvalue>

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