Discussion:
[jira] [Created] (MRM-1937) Creating an admin-User named other than 'admin' fails
Alex Pintilie (JIRA)
2017-04-10 06:26:41 UTC
Permalink
Alex Pintilie created MRM-1937:
----------------------------------

Summary: Creating an admin-User named other than 'admin' fails
Key: MRM-1937
URL: https://issues.apache.org/jira/browse/MRM-1937
Project: Archiva
Issue Type: Bug
Components: Users/Security
Affects Versions: 2.2.1
Environment: jdk 8u111
windows 7 pro sp1
Reporter: Alex Pintilie
Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg

When I create an admin-User which is named _alex_, Arhiva behaves strangely.

I describe the screenshot steps (sorry it's in German but I'll translate)

# I installed Archiva, went to localhost:8080 and pressed _Create Admin User_
# I entered _alex_ as username and saved
# I got redirected to [localhost:8282/#search] with the message _you have entered an invalid combination of username and password_
# When I tried to login again, I got the same message

Regards,
Alex



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Martin Stockhammer (JIRA)
2017-04-14 17:19:41 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969277#comment-15969277 ]

Martin Stockhammer commented on MRM-1937:
-----------------------------------------

Hi Alex,

the primary admin user must be named 'admin'. You cannot use another name. The error messages are a bit awkward, I will try to change that. But you have to use the name 'admin' as username.
After that you are able to create users with names as you like and give them administration privileges.
Post by Alex Pintilie (JIRA)
Creating an admin-User named other than 'admin' fails
-----------------------------------------------------
Key: MRM-1937
URL: https://issues.apache.org/jira/browse/MRM-1937
Project: Archiva
Issue Type: Bug
Components: Users/Security
Affects Versions: 2.2.1
Environment: jdk 8u111
windows 7 pro sp1
Reporter: Alex Pintilie
Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg
When I create an admin-User which is named _alex_, Arhiva behaves strangely.
I describe the screenshot steps (sorry it's in German but I'll translate)
# I installed Archiva, went to localhost:8080 and pressed _Create Admin User_
# I entered _alex_ as username and saved
# I got redirected to [localhost:8282/#search] with the message _you have entered an invalid combination of username and password_
# When I tried to login again, I got the same message
Regards,
Alex
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Martin Stockhammer (JIRA)
2017-04-14 19:03:41 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stockhammer updated MRM-1937:
------------------------------------
Fix Version/s: 2.2.2
Post by Alex Pintilie (JIRA)
Creating an admin-User named other than 'admin' fails
-----------------------------------------------------
Key: MRM-1937
URL: https://issues.apache.org/jira/browse/MRM-1937
Project: Archiva
Issue Type: Bug
Components: Users/Security
Affects Versions: 2.2.1
Environment: jdk 8u111
windows 7 pro sp1
Reporter: Alex Pintilie
Fix For: 2.2.2
Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg
When I create an admin-User which is named _alex_, Arhiva behaves strangely.
I describe the screenshot steps (sorry it's in German but I'll translate)
# I installed Archiva, went to localhost:8080 and pressed _Create Admin User_
# I entered _alex_ as username and saved
# I got redirected to [localhost:8282/#search] with the message _you have entered an invalid combination of username and password_
# When I tried to login again, I got the same message
Regards,
Alex
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Martin Stockhammer (JIRA)
2017-04-14 19:05:41 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Stockhammer resolved MRM-1937.
-------------------------------------
Resolution: Fixed

Creating initial admin with wrong user name is not possible anymore.
Post by Alex Pintilie (JIRA)
Creating an admin-User named other than 'admin' fails
-----------------------------------------------------
Key: MRM-1937
URL: https://issues.apache.org/jira/browse/MRM-1937
Project: Archiva
Issue Type: Bug
Components: Users/Security
Affects Versions: 2.2.1
Environment: jdk 8u111
windows 7 pro sp1
Reporter: Alex Pintilie
Fix For: 2.2.2
Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg
When I create an admin-User which is named _alex_, Arhiva behaves strangely.
I describe the screenshot steps (sorry it's in German but I'll translate)
# I installed Archiva, went to localhost:8080 and pressed _Create Admin User_
# I entered _alex_ as username and saved
# I got redirected to [localhost:8282/#search] with the message _you have entered an invalid combination of username and password_
# When I tried to login again, I got the same message
Regards,
Alex
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Hudson (JIRA)
2017-04-14 19:34:41 UTC
Permalink
[ https://issues.apache.org/jira/browse/MRM-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15969438#comment-15969438 ]

Hudson commented on MRM-1937:
-----------------------------

FAILURE: Integrated in Jenkins build archiva-master-build #989 (See [https://builds.apache.org/job/archiva-master-build/989/])
[MRM-1937] Prevent creation of wrong initial admin (martin_s: [https://github.com/apache/archiva/commit/63154d9d38f57b998649563f7f1520b9e00082ba])
* (edit) archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/redback/user.js
Post by Alex Pintilie (JIRA)
Creating an admin-User named other than 'admin' fails
-----------------------------------------------------
Key: MRM-1937
URL: https://issues.apache.org/jira/browse/MRM-1937
Project: Archiva
Issue Type: Bug
Components: Users/Security
Affects Versions: 2.2.1
Environment: jdk 8u111
windows 7 pro sp1
Reporter: Alex Pintilie
Fix For: 2.2.2
Attachments: 1.jpg, 2.jpg, 3.jpg, 4.jpg
When I create an admin-User which is named _alex_, Arhiva behaves strangely.
I describe the screenshot steps (sorry it's in German but I'll translate)
# I installed Archiva, went to localhost:8080 and pressed _Create Admin User_
# I entered _alex_ as username and saved
# I got redirected to [localhost:8282/#search] with the message _you have entered an invalid combination of username and password_
# When I tried to login again, I got the same message
Regards,
Alex
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Loading...