org.apache.myfaces.extensions.cdi.jsf.impl.util
Class SecurityUtils
java.lang.Object
org.apache.myfaces.extensions.cdi.jsf.impl.util.SecurityUtils
@Typed
public abstract class SecurityUtils
- extends Object
- Author:
- Gerhard Petracek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handleSecurityViolationWithoutNavigation
public static Class<? extends ViewConfig> handleSecurityViolationWithoutNavigation(RuntimeException runtimeException)
- Processes a security violation without triggering the navigation to the error page
- Parameters:
runtimeException
- current exception
- Returns:
- error view which can be used e.g. for manual navigation
tryToHandleSecurityViolation
public static void tryToHandleSecurityViolation(RuntimeException runtimeException)
- Processes a security violation including the navigation to the error page
- Parameters:
runtimeException
- current exception
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.