Lucio Lelii 5 years ago
parent
commit
4c9a51b337
  1. 1
      src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java

1
src/main/java/org/gcube/vremanagement/whnmanager/jaxws/ws/WhnManagerImpl.java

@ -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