activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5304) groupClass not applied to TempDestinationAuthorizationEntry
Date Fri, 01 Aug 2014 12:25:39 GMT
Torsten Mielke created AMQ-5304:
-----------------------------------

             Summary: groupClass not applied to TempDestinationAuthorizationEntry
                 Key: AMQ-5304
                 URL: https://issues.apache.org/jira/browse/AMQ-5304
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.10.0
            Reporter: Torsten Mielke
            Assignee: Torsten Mielke


When configuring the authorization plugin with a <tempDestinationAuthorizationEntry>
that also set a groupClass, this groupClass is not properly applied to the TempDestinationAuthorizationEntry
instance. 

E.g. consider this example config
{code:xml}
      <authorizationPlugin>
        <map>
          <authorizationMap groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal">
            <authorizationEntries>
              <authorizationEntry queue=">" read="admin" write="client,admin" admin="client,admin"
/>
              <authorizationEntry topic=">" read="client,admin" write="admin" admin="admin"/>
              <authorizationEntry topic="ActiveMQ.Advisory.>" read="admin,client" write="admin,client"
admin="admin"/>
           </authorizationEntries>

           <tempDestinationAuthorizationEntry>
             <tempDestinationAuthorizationEntry read="client,admin" write="client,admin"
admin="client,admin" groupClass="org.apache.karaf.jaas.boot.principal.RolePrincipal"/>
           </tempDestinationAuthorizationEntry>

         </authorizationMap>
        </map>
      </authorizationPlugin>
{code}


Its groupClass property is called and set to the class specified in Spring but we don't apply
the groupClass to the AuthorizationEntry. 





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message