[jboss-jira] [JBoss JIRA] (WFLY-7913) Rename default-realm attribute in Elytron properties-realm
Josef Cacek (JIRA)
issues at jboss.org
Thu Jan 19 05:26:00 EST 2017
Josef Cacek created WFLY-7913:
---------------------------------
Summary: 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
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