@Typed public abstract class SecurityUtils extends Object
| Constructor and Description |
|---|
SecurityUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends org.apache.deltaspike.core.api.config.view.ViewConfig> |
handleSecurityViolationWithoutNavigation(RuntimeException exception)
Processes a security violation without triggering the navigation to the error page
|
static void |
invokeVoters(EditableAccessDecisionVoterContext accessDecisionVoterContext,
org.apache.deltaspike.core.api.config.view.metadata.ConfigDescriptor<?> viewConfigDescriptor) |
static void |
tryToHandleSecurityViolation(RuntimeException exception)
Processes a security violation including the navigation to the error page
|
public static void invokeVoters(EditableAccessDecisionVoterContext accessDecisionVoterContext, org.apache.deltaspike.core.api.config.view.metadata.ConfigDescriptor<?> viewConfigDescriptor)
public static Class<? extends org.apache.deltaspike.core.api.config.view.ViewConfig> handleSecurityViolationWithoutNavigation(RuntimeException exception)
exception - current exceptionpublic static void tryToHandleSecurityViolation(RuntimeException exception)
exception - current exceptionCopyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.