<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:47 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-158] Repeated user creation fails with SQL query error</title>
                <link>https://jira.opendaylight.org/browse/AAA-158</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;While attempting to create user that allready exist trough&#160;&lt;a href=&quot;http://localhost:8181/auth/v1/users&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/auth/v1/users&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;following is showed&lt;/p&gt;

{
 &quot;message&quot;: &quot;There was an internal error creating the user&quot;,
 &quot;details&quot;: &quot;org.opendaylight.aaa.h2.persistence.StoreException: SQL Exception : org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: \&quot;PRIMARY_KEY_4D ON PUBLIC.USERS(USERID) VALUES (&apos;test_user@xy&apos;, 3)\&quot;; SQL statement:\ninsert into users (userid,domainid,name,email,password,description,enabled,salt) values(?,?,?,?,?,?,?,?) [23505-191]&quot;
}

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

&lt;p&gt;This is problem for two reasons&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;This error is not exactly user friendly, all the user needs to know here is &quot;You are attemtping to create allready existing user&quot;&lt;/li&gt;
	&lt;li&gt;And the more important, it directly exposes which schema/table contains user credentials.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="29115">AAA-158</key>
            <summary>Repeated user creation fails with SQL query error</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="rgoulding">Ryan Goulding</assignee>
                                    <reporter username="jsrnicek_cisco">Jan Srnicek</reporter>
                        <labels>
                            <label>security</label>
                    </labels>
                <created>Thu, 25 Jan 2018 13:21:49 +0000</created>
                <updated>Thu, 8 Feb 2018 14:05:33 +0000</updated>
                            <resolved>Thu, 8 Feb 2018 14:05:33 +0000</resolved>
                                    <version>Nitrogen-SR1</version>
                                    <fixVersion>Nitrogen-SR1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="60982" author="rgoulding" created="Wed, 7 Feb 2018 19:18:52 +0000"  >&lt;p&gt;Fine, fine.&#160; It is also open source and the table creation is in plain text and viewable by anyone with a browser &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. Here is a fix though:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/68034/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/68034/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|i039rr:</customfieldvalue>

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