Issue Details (XML | Word | Printable)

Key: AMQ-2288
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Dave Syer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

AdvisoryBroker does not set up SecurityContext so advisory message not sent on startup

Created: 15/Jun/09 07:06 AM   Updated: 15/Jun/09 07:06 AM
Return to search
Component/s: Broker
Affects Version/s: 5.2.0
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
AdvisoryBroker does not set up SecurityContext so advisory message not sent on startup. The AdvisoryBroker has a nowMasterBroker() method that sends an advisory message without a SecurityContext. If the authorization plugin is being used, then it fails because the user is not authenticated. It looks to me like the fix would be to add a line to that method:
context.setSecurityContext(SecurityContext.BROKER_SECURITY_CONTEXT);


 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.