[jboss-jira] [JBoss JIRA] (WFCORE-4041) ManagementRealm does now show plain-text attribute in default read-resource output

Michal Petrov (Jira) issues at jboss.org
Fri Apr 3 14:46:02 EDT 2020


    [ https://issues.redhat.com/browse/WFCORE-4041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020771#comment-14020771 ] 

Michal Petrov commented on WFCORE-4041:
---------------------------------------

[~dlofthouse], [~jdenise] I found out fixing this breaks CLI, specifically "security enable-sasl-management …", as CLI tries to construct the composite operation it performs a lookup for a properties-realm (relying on "plain-text" not being set) - {{ElytronUtil.buildUsersResource()}}. As far as I can see there is no parameter to set the "plain-text" so the CLI operation will currently fail to find a properties-realm with "plain-text=true", I'm assuming that's a bug?

> ManagementRealm does now show plain-text attribute in default read-resource output
> ----------------------------------------------------------------------------------
>
>                 Key: WFCORE-4041
>                 URL: https://issues.redhat.com/browse/WFCORE-4041
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Management
>            Reporter: Justin Cook
>            Assignee: Michal Petrov
>            Priority: Major
>
> Currently running /subsystem=elytron/properties-realm=ManagementRealm:read-resource() results in the output:
> {code}
> {
>     "outcome" => "success",
>     "result" => {
>         "groups-attribute" => "groups",
>         "groups-properties" => {
>             "path" => "mgmt-groups.properties",
>             "relative-to" => "jboss.server.config.dir"
>         },
>         "users-properties" => {
>             "path" => "mgmt-users.properties",
>             "relative-to" => "jboss.server.config.dir",
>             "digest-realm-name" => "ManagementRealm"
>         }
>     }
> }
> {code}
> which is missing the plain-text attribute



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jboss-jira mailing list