git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@731529 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2009-01-05 11:27:17 +00:00
parent 8a857bdc01
commit 4199c95098
1 changed files with 1 additions and 4 deletions

View File

@ -54,11 +54,9 @@ public class AuthorizationBroker extends BrokerFilter implements SecurityAdminMB
Destination existing = this.getDestinationMap().get(destination);
if (existing != null) {
return existing;
return super.addDestination(context, destination);
}
// if(!((ActiveMQTempDestination)destination).getConnectionId().equals(context.getConnectionId().getValue())
// ) {
if (!securityContext.isBrokerContext()) {
Set<?> allowedACLs = null;
if (!destination.isTemporary()) {
@ -72,7 +70,6 @@ public class AuthorizationBroker extends BrokerFilter implements SecurityAdminMB
}
}
// }
return super.addDestination(context, destination);
}