<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:09:03 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-257] MD-SAL Dynamic Authorization fails to work</title>
                <link>https://jira.opendaylight.org/browse/AAA-257</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;Two issues noticed here...&lt;/p&gt;

&lt;p&gt;a.&#160; The dynamic authorization filter failed to get loaded.&lt;/p&gt;

&lt;p&gt;b.&#160; Even after loading it with a workaround, the request if not handed over to the dynamic authorization filter due t the issue &lt;a href=&quot;https://jira.opendaylight.org/browse/AAA-256&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;AAA-256&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Workarounds:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Shiro fails to load filters with custom name, ODL uses dynamicAuthoriztion as the name of the filter, which fails to load with the current Shiro release. But the filter gets loaded if we use the name &quot;rest&quot;, which is pre-defined filter.&lt;/li&gt;
	&lt;li&gt;Cookie needs to be disabled to avoid the second problem (workaround for &lt;a href=&quot;https://jira.opendaylight.org/browse/AAA-256&quot; title=&quot;Authorization Header is ignored when cookie is present&quot; class=&quot;issue-link&quot; data-issue-key=&quot;AAA-256&quot;&gt;AAA-256&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;


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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="36751">AAA-257</key>
            <summary>MD-SAL Dynamic Authorization fails to work</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="gvrangan">Venkatrangan Govindarajan</assignee>
                                    <reporter username="gvrangan">Venkatrangan Govindarajan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Mar 2023 05:57:14 +0000</created>
                <updated>Mon, 17 Apr 2023 07:42:35 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72101" author="rovarga" created="Mon, 27 Mar 2023 08:00:31 +0000"  >&lt;p&gt;Can you provide logs to substantiate the first issue?&lt;/p&gt;</comment>
                            <comment id="72114" author="gvrangan" created="Sat, 15 Apr 2023 09:42:51 +0000"  >&lt;p&gt;There are no errors, exceot that the filter is not loaded. The regular karaf.log from CSIT can be used&#160;&lt;/p&gt;

&lt;p&gt;I)&lt;/p&gt;

&lt;p&gt;Regular karaf log: &lt;a href=&quot;https://s3-logs.opendaylight.org/logs/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-userfeatures-rfc8040-all-master/251/odl_1/odl1_karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://s3-logs.opendaylight.org/logs/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-userfeatures-rfc8040-all-master/251/odl_1/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Please note that MDSALDynamic is defined as some other name, but not getting loaded.&#160;&lt;/p&gt;

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

&lt;p&gt;II) Modified the aaa-app-config.xml to use rest as the name of the filter. Please find the karaf log attached.&lt;/p&gt;

&lt;p&gt;Snippet!!&lt;/p&gt;

&lt;p&gt;-----&lt;del&gt;8&amp;lt;&lt;/del&gt;---------&lt;/p&gt;

&lt;p&gt;t data&lt;br/&gt;
2023-04-15T09:29:35,002 | INFO &#160;| Blueprint Extender: 2 | AAAShiroProvider &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; | 184 - org.opendaylight.aaa.shiro - 0.17.7 | AAAShiroProvider Session Initiated&lt;br/&gt;
2023-04-15T09:29:35,129 | INFO &#160;| Blueprint Extender: 2 | ReflectionBuilder &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;| 183 - org.opendaylight.aaa.repackaged-shiro - 0.17.7 | An instance with name &apos;rest&apos; already exists. &#160;Redefining this object as a new instance of type org.opendaylight.aaa.shiro.realm.MDSALDynamicAuthorizationFilter&lt;br/&gt;
2023-04-15T09:29:35,130 | INFO &#160;| Blueprint Extender: 2 | IniSecurityManagerFactory &#160; &#160; &#160; &#160;| 183 - org.opendaylight.aaa.repackaged-shiro - 0.17.7 | Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur.&lt;br/&gt;
2023-04-15T09:29:35,169 | INFO &#160;| paxweb-config-3-thread-1 | ServerModel &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;| 340 - org.ops4j.pax.web.pax-web-spi - 8.0.15 | Created new ServletContextModel{id=ServletContextModel-8,contextPath=&apos;/auth&apos;}&lt;br/&gt;
2023-04-15T09:29:35,169 | INFO &#160;| paxweb-config-3-thread-1 | JettyServerController &#160; &#160; &#160; &#160; &#160; &#160;| 337 - org.ops4j.pax.web.pax-web-jetty - 8.0.15 | Receiving Batch{&quot;Registration of OsgiContextModel{WB,id=OCM-7,name=&apos;OpenDaylight IDM realm management&apos;,path=&apos;/auth&apos;,bundle=org.opendaylight.aaa.shiro,ref=&lt;/p&gt;
{org.osgi.service.http.context.ServletContextHelper}
&lt;p&gt;={service.id=275, osgi.http.whiteboard.context.name=OpenDaylight IDM realm management, service.bundleid=184, service.scope=singleton, osgi.http.whiteboard.context.path=/auth}}&quot;, size=2}&lt;br/&gt;
2023-04-15T09:29:35,170 | INFO &#160;| paxweb-config-3-thread-1 | JettyServerWrapper &#160; &#160; &#160; &#160; &#160; &#160; &#160; | 337 - org.ops4j.pax.web.pax-web-jetty - 8.0.15 | Creating new Jetty context for&lt;/p&gt;

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

&lt;p&gt;------&lt;del&gt;8&amp;lt;&lt;/del&gt;-----------&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/18701/18701_karaf.log_rest_mdsal&quot; title=&quot;karaf.log_rest_mdsal attached to AAA-257&quot;&gt;karaf.log_rest_mdsal&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;&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="18701" name="karaf.log_rest_mdsal" size="207176" author="gvrangan" created="Sat, 15 Apr 2023 09:42:48 +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|i044lr:</customfieldvalue>

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