[jboss-jira] [JBoss JIRA] (ELY-630) Elytron - aggregate-role-mapper can contain multi reference to one role mapper
Darran Lofthouse (JIRA)
issues at jboss.org
Fri Sep 16 06:47:01 EDT 2016
[ https://issues.jboss.org/browse/ELY-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294384#comment-13294384 ]
Darran Lofthouse commented on ELY-630:
--------------------------------------
As I have mentioned elsewhere I don't think this is necessarily an invalid configuration - as administrators can plug in custom implementations there is always a possibility that they may want their implementation repeating.
> Elytron - aggregate-role-mapper can contain multi reference to one role mapper
> ------------------------------------------------------------------------------
>
> Key: ELY-630
> URL: https://issues.jboss.org/browse/ELY-630
> Project: WildFly Elytron
> Issue Type: Bug
> Reporter: Hynek Švábek
> Assignee: Darran Lofthouse
> Priority: Minor
>
> Aggregate-role-mapper can contain multi reference to one role mapper.
> In my opinion it isn't valid state.
> But there is some probability that it is required behaviour.
> Can you have a look on it?
> Configuration snippet:
> {code}
> <subsystem xmlns="urn:wildfly:elytron:1.0">
> <mappers>
> <add-prefix-role-mapper name="CreaperTestAddPrefixRoleMapper" prefix="somePrefix"/>
> <aggregate-role-mapper name="CreaperTestAggregateRoleMapper">
> <role-mapper name="CreaperTestAddPrefixRoleMapper"/>
> <role-mapper name="CreaperTestAddPrefixRoleMapper"/>
> </aggregate-role-mapper>
> </mappers>
> </subsystem>
> {code}
> *Actual results:*
> Aggregate-role-mapper can contain multi reference to one role-mapper.
> *Expected results:*
> You would not be able to define multi reference to one role-mapper in aggregate-role-mapper.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list