[KARAF-5700]handle \* scope specifically for ACL match
@@ -333,6 +333,9 @@ public class SecuredSessionFactoryImpl extends SessionFactoryImpl implements Con
}
scope = scope.trim();
synchronized (scopes) {
+ if (scope.endsWith("*")) {
+ scope = "star";
+ }
scopes.put(scope, config.getProperties());
}
}
@@ -345,6 +348,9 @@ public class SecuredSessionFactoryImpl extends SessionFactoryImpl implements Con
private Dictionary<String, Object> getScopeConfig(String scope) {
synchronized (scopes) {
+ if (scope.equals("*")) {
+ scope = "star";
+ }
return scopes.get(scope);
}
}
