@Dependent public class DefaultSecurityStrategy extends Object implements SecurityStrategy
| Constructor and Description |
|---|
DefaultSecurityStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(javax.interceptor.InvocationContext invocationContext) |
protected RuntimeException |
handleAccessDeniedException(AccessDeniedException originalException)
Fires a
ExceptionToCatchEvent for the given
AccessDeniedException. |
protected void |
invokeAfterMethodInvocationAuthorizers(javax.interceptor.InvocationContext invocationContext,
Set<org.apache.deltaspike.security.impl.extension.Authorizer> authorizers,
Object result) |
protected void |
invokeBeforeMethodInvocationAuthorizers(javax.interceptor.InvocationContext invocationContext,
Set<org.apache.deltaspike.security.impl.extension.Authorizer> authorizers) |
public Object execute(javax.interceptor.InvocationContext invocationContext) throws Exception
execute in interface org.apache.deltaspike.core.spi.InterceptorStrategyExceptionprotected void invokeBeforeMethodInvocationAuthorizers(javax.interceptor.InvocationContext invocationContext,
Set<org.apache.deltaspike.security.impl.extension.Authorizer> authorizers)
throws IllegalAccessException
IllegalAccessExceptionprotected void invokeAfterMethodInvocationAuthorizers(javax.interceptor.InvocationContext invocationContext,
Set<org.apache.deltaspike.security.impl.extension.Authorizer> authorizers,
Object result)
throws IllegalAccessException
IllegalAccessExceptionprotected RuntimeException handleAccessDeniedException(AccessDeniedException originalException)
Fires a ExceptionToCatchEvent for the given
AccessDeniedException.
originalException - exception thrown by an authorizerCopyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.