This commit is contained in:
Lucio Lelii 2016-09-30 16:13:48 +00:00
parent 6e9e2c173d
commit 4c9a51b337
1 changed files with 1 additions and 0 deletions

View File

@ -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();