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