[jboss-jira] [JBoss JIRA] (WFCORE-4582) Cannot create user with underscores in the name

Brian Stansberry (Jira) issues at jboss.org
Mon Jul 29 15:55:00 EDT 2019


     [ https://issues.jboss.org/browse/WFCORE-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated WFCORE-4582:
-------------------------------------
    Issue Type: Enhancement  (was: Feature Request)


[~dlofthouse] [~jmesnil] This sounds more like an Enhancement than a Feature. Please switch it back to feature if you disagree.

I mention this because the process for adding a Feature to WildFly is considerably more involved.

> Cannot create user with underscores in the name
> -----------------------------------------------
>
>                 Key: WFCORE-4582
>                 URL: https://issues.jboss.org/browse/WFCORE-4582
>             Project: WildFly Core
>          Issue Type: Enhancement
>    Affects Versions: 10.0.0.Beta2
>            Reporter: Thorsten Heit
>            Assignee: Jeff Mesnil
>            Priority: Minor
>
> On a fresh a Wildfly install (tested on 11.0.0.Final and 17.0.0.Final) I cannot create application users with underscores in the user name:
> {noformat}
> C:\Users\thorsten\bin\wildfly-11.0.0.Final\bin>add-user
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by __redirected.__SAXParserFactory (file:/C:/Users/thorsten/bin/wildfly-11.0.0.Final/jboss-modules.jar) to c
> onstructor com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl()
> WARNING: Please consider reporting this to the maintainers of __redirected.__SAXParserFactory
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> What type of user do you wish to add?
>  a) Management User (mgmt-users.properties)
>  b) Application User (application-users.properties)
> (a): b
> Enter the details of the new user to add.
> Using realm 'ApplicationRealm' as discovered from the existing property files.
> Username : user_name
>  * Error *
> WFLYDM0028: Username must be alphanumeric with the exception of the following accepted symbols (",", "-", ".", "/", "=", "@", "\")
> Username (user_name) :
> {noformat}
> We use basic authentification to restrict access to our applications, and expect usernames in the format {{<prefix>\_<suffix>}} with {{<prefix>}} being a sequence of plain letters (a-z), followed by an underscore ("\_") and a number as {{<suffix>}}.
> This is possible with WebSphere and even Tomcat, but actually not in Wildfly.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list