|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.intercept.AbstractSecurityInterceptor
org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor
org.codehaus.groovy.grails.plugins.springsecurity.QuietMethodSecurityInterceptor
public class QuietMethodSecurityInterceptor
MethodSecurityInterceptor
that doesn't throw exceptions if Method Access is
denied, returns null
instead.
Field Summary |
---|
Fields inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor |
---|
logger, messages |
Constructor Summary | |
---|---|
QuietMethodSecurityInterceptor()
|
Method Summary | |
---|---|
Object |
invoke(org.aopalliance.intercept.MethodInvocation mi)
|
void |
setThrowException(boolean throwException)
Dependency injection for throw exception flag. |
Methods inherited from class org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor |
---|
getObjectDefinitionSource, getSecureObjectClass, obtainObjectDefinitionSource, setObjectDefinitionSource |
Methods inherited from class org.springframework.security.intercept.AbstractSecurityInterceptor |
---|
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuietMethodSecurityInterceptor()
Method Detail |
---|
public Object invoke(org.aopalliance.intercept.MethodInvocation mi) throws Throwable
invoke
in interface org.aopalliance.intercept.MethodInterceptor
invoke
in class org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor
Throwable
MethodSecurityInterceptor.invoke(
org.aopalliance.intercept.MethodInvocation)
public void setThrowException(boolean throwException)
throwException
- if true
throw exceptions, otherwise just log
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |