[ 
https://issues.apache.org/jira/browse/ARTEMIS-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908079#comment-14908079
 ] 

ASF GitHub Bot commented on ARTEMIS-229:
----------------------------------------

Github user jscheid commented on the pull request:

    https://github.com/apache/activemq-artemis/pull/175#issuecomment-143236069
  
    It was inspired by 
http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Collections2.html
    
    But I don't care what it's called, let me know what name you'd prefer and 
I'm happy to change it.


> Additional address argument for validateUserAndRole
> ---------------------------------------------------
>
>                 Key: ARTEMIS-229
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-229
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Julian Scheid
>            Priority: Minor
>
> Making {{validateUserAndRole}} accept an extra {{address}} parameter and 
> passing the destination address in {{SecurityStoreImpl.check}} (along with 
> changing the cache keys accordingly) enables authorization schemes that take 
> the destination address into account.
> To some degree this is already possible using the {{securityRepository}} but 
> only for a static list of roles and destinations, it doesn't work so well in 
> an environment where e.g. queues are created dynamically and need to be 
> authorized based on the user's identity.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to