Lucio Lelii 8 years ago
parent 6e9e2c173d
commit 4c9a51b337

@ -75,6 +75,7 @@ public class WhnManagerImpl implements WhnManager{
ValidationUtils.valid("context", context);
ApplicationContext appContext = ContextProvider.get();
if(context!=null){
logger.trace("allowed container in context are {} ",appContext.container().configuration().allowedContexts());
if(appContext.container().configuration().allowedContexts().contains(context)){
if (new ScopeBean(context).enclosingScope().toString().equals(ScopeProvider.instance.get())){
AuthorizationProxy proxy = provider().authorizationProxy();

Loading…
Cancel
Save