[
https://issues.jboss.org/browse/WFLY-7219?page=com.atlassian.jira.plugin....
]
Jan Kalina edited comment on WFLY-7219 at 11/4/16 9:09 AM:
-----------------------------------------------------------
[~ivassile] The problem is, the simple-permission-mapper has no idea which parameters of
given Permission constructor is required - the constructor (found by reflection,
potentially defined by user) just throw IllegalArgumentException when something is
missing. The exception also use constructor parameter names - the constructor parameter
"name" is "target-name" in simple-permission-mapper. If you want, you
can devise something.
was (Author: honza889):
[~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)