[jboss-jira] [JBoss JIRA] (WFLY-7913) Rename default-realm attribute in Elytron properties-realm

Kabir Khan (JIRA) issues at jboss.org
Fri Jan 20 16:59:00 EST 2017


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

Kabir Khan resolved WFLY-7913.
------------------------------
    Resolution: Done


> Rename default-realm attribute in Elytron properties-realm
> ----------------------------------------------------------
>
>                 Key: WFLY-7913
>                 URL: https://issues.jboss.org/browse/WFLY-7913
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Josef Cacek
>            Assignee: Darran Lofthouse
>              Labels: user_experience
>             Fix For: 11.0.0.Alpha1
>
>
> The newly introduced attribute {{default-realm}} in {{properties-realm}} configuration in Elytron is ambiguous and  should be renamed. The attribute contains default value for realm-name and it's used in password hash computation. So it's rather related to {{users-properties}} part only. 
> *Suggestion for improvement:*
> Rename the attribute to sth. like {{realm-name-to-hash}} and put it into {{users-properties}} configuration if possible.
> {code:xml}
> <properties-realm name="ApplicationRealm">
>     <users-properties path="application-users.properties" relative-to="jboss.server.config.dir"  realm-name-to-hash="ApplicationRealm"/>
>     <groups-properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
> </properties-realm>
> {code}
> or (if it's not easy to have it in users-properties configuration)
> {code:xml}
> <properties-realm name="ApplicationRealm" realm-name-to-hash="ApplicationRealm">
>     <users-properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
>     <groups-properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>
> </properties-realm>
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list