[
https://issues.jboss.org/browse/WFLY-7219?page=com.atlassian.jira.plugin....
]
Jan Kalina commented on WFLY-7219:
----------------------------------
Ok, I has try it, but as [~dmlloyd] noticed, there is not guaranteed that Permission
define constructor for all allowed combinations - the null can be allowed in arguments...
I can catch the exception (or just InvalidArgumentException), but there is not guaranteed
that the exception was caused by given argument...
I think we will have to close this as impossible in general.
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)