org.apache.myfaces.extensions.cdi.core.impl.util
Class SecurityUtils
java.lang.Object
org.apache.myfaces.extensions.cdi.core.impl.util.SecurityUtils
@Typed
public abstract class SecurityUtils
- extends Object
Helper for using AccessDecisionVoter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
invokeVoters
public static void invokeVoters(javax.interceptor.InvocationContext invocationContext,
javax.enterprise.inject.spi.BeanManager beanManager,
List<Class<? extends AccessDecisionVoter>> accessDecisionVoters,
Class<? extends ViewConfig> errorView)
- Helper for invoking the given
AccessDecisionVoter
s
- Parameters:
invocationContext
- current invocation-context (might be null in case of secured views)beanManager
- current bean-manageraccessDecisionVoters
- current access-decision-voterserrorView
- optional inline error view
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.