jbertram commented on pull request #3246:
URL: https://github.com/apache/activemq-artemis/pull/3246#issuecomment-685881000


   The `address` parameter was removed as part of the API simplification 
because it wasn't required. It wasn't actually being used anywhere. The 
`authorize` method gets the `subject` which contains all the roles that the 
user has, a `Set` of `Role` objects (which contain the role's name and its 
permissions) from the broker's `security-settings`, and the type of check that 
needs to be authorized. The name of the address or FQQN isn't really needed. 
The security manager just needs to sort through the parameters and see if the 
`Subject` has the right roles for the requested check.
   
   Do you have a use-case which requires the address/FQQN? If so, please 
elaborate.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to