[jboss-jira] [JBoss JIRA] (WFLY-7219) Wrong description of missing target-name in simple-permission-mapper
Jan Kalina (JIRA)
issues at jboss.org
Fri Nov 4 09:07:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13317481#comment-13317481 ]
Jan Kalina commented on WFLY-7219:
----------------------------------
[~ivassile] The problem is, the simple-permission-mapper has no idea which parameters of given Permission constructor is required - the constructor just throw IllegalArgumentException when something is missing. If you want, you can devise something.
> Wrong description of missing target-name in simple-permission-mapper
> --------------------------------------------------------------------
>
> Key: WFLY-7219
> URL: https://issues.jboss.org/browse/WFLY-7219
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Ondrej Lukas
> Assignee: Jan Kalina
> Labels: user_experience
> Fix For: 11.0.0.Alpha1
>
>
> In case when simple-permission-mapper cannot be added through CLI command due to missing target-name attribute, then IllegalArgumentException with wrong description is thrown. It says: "Parameter '*name*' may not be null". It should be "Parameter '*target-name*' may not be null".
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list