git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/whn-manager@132236 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6e9e2c173d
commit
4c9a51b337
|
@ -75,6 +75,7 @@ public class WhnManagerImpl implements WhnManager{
|
||||||
ValidationUtils.valid("context", context);
|
ValidationUtils.valid("context", context);
|
||||||
ApplicationContext appContext = ContextProvider.get();
|
ApplicationContext appContext = ContextProvider.get();
|
||||||
if(context!=null){
|
if(context!=null){
|
||||||
|
logger.trace("allowed container in context are {} ",appContext.container().configuration().allowedContexts());
|
||||||
if(appContext.container().configuration().allowedContexts().contains(context)){
|
if(appContext.container().configuration().allowedContexts().contains(context)){
|
||||||
if (new ScopeBean(context).enclosingScope().toString().equals(ScopeProvider.instance.get())){
|
if (new ScopeBean(context).enclosingScope().toString().equals(ScopeProvider.instance.get())){
|
||||||
AuthorizationProxy proxy = provider().authorizationProxy();
|
AuthorizationProxy proxy = provider().authorizationProxy();
|
||||||
|
|
Loading…
Reference in New Issue