You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2010/12/02 14:11:33 UTC

[jira] Updated: (AMQ-2288) AdvisoryBroker does not set up SecurityContext so advisory message not sent on startup

     [ https://issues.apache.org/jira/browse/AMQ-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac updated AMQ-2288:
-------------------------------

    Fix Version/s:     (was: 5.4.2)
                   5.5.0

> AdvisoryBroker does not set up SecurityContext so advisory message not sent on startup
> --------------------------------------------------------------------------------------
>
>                 Key: AMQ-2288
>                 URL: https://issues.apache.org/jira/browse/AMQ-2288
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Dave Syer
>            Priority: Minor
>             Fix For: 5.5.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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:
> {code}
> context.setSecurityContext(SecurityContext.BROKER_SECURITY_CONTEXT);
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.