[jboss-jira] [JBoss JIRA] (WFCORE-2943) Runtime attribute loaded-providers of elytron provider-loader should not be required

Brian Stansberry (JIRA) issues at jboss.org
Tue Jun 13 12:43:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420734#comment-13420734 ] 

Brian Stansberry commented on WFCORE-2943:
------------------------------------------

This change is ok, but not because these are runtime-only attributes. It's ok for a runtime-only attribute to be required. (They can have an undefined value in a response if the read-resource op doesn't include the include-runtime=true param, but that doesn't count in terms of the attribute being "required" or not. The "storage" metadata for the attribute covers that.)

These should be required=false because looking at the read handler impls it looks like the user can use include-runtime=true and still get an undefined value for these, i.e. if the relevant service is not up.


> Runtime attribute loaded-providers of elytron provider-loader should not be required
> ------------------------------------------------------------------------------------
>
>                 Key: WFCORE-2943
>                 URL: https://issues.jboss.org/browse/WFCORE-2943
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 3.0.0.Beta26
>            Reporter: Chao Wang
>            Assignee: Chao Wang
>
> Runtime attribute being required (and thus nillable false) is confusing for users.



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


More information about the jboss-jira mailing list