org.apache.myfaces.extensions.cdi.core.impl.util
Class SecurityUtils

java.lang.Object
  extended by org.apache.myfaces.extensions.cdi.core.impl.util.SecurityUtils

@Typed
public abstract class SecurityUtils
extends Object

Helper for using AccessDecisionVoter


Method Summary
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 AccessDecisionVoters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 AccessDecisionVoters

Parameters:
invocationContext - current invocation-context (might be null in case of secured views)
beanManager - current bean-manager
accessDecisionVoters - current access-decision-voters
errorView - optional inline error view


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.