Package africa.absa.inception.api
Class ApiMethodSecurityExpressionHandler
- java.lang.Object
-
- org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
-
- org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
-
- africa.absa.inception.api.ApiMethodSecurityExpressionHandler
-
- All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.security.access.expression.method.MethodSecurityExpressionHandler,org.springframework.security.access.expression.SecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
public class ApiMethodSecurityExpressionHandler extends org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandlerThe ApiMethodSecurityExpressionHandler class.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description ApiMethodSecurityExpressionHandler(org.springframework.context.ApplicationContext applicationContext)Constructs a new ApiMethodSecurityExpressionHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.access.expression.method.MethodSecurityExpressionOperationscreateSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.aopalliance.intercept.MethodInvocation invocation)Creates the root object for expression evaluation.-
Methods inherited from class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
createEvaluationContextInternal, filter, getDefaultRolePrefix, getParameterNameDiscoverer, getTrustResolver, setDefaultRolePrefix, setParameterNameDiscoverer, setPermissionCacheOptimizer, setReturnObject, setTrustResolver
-
Methods inherited from class org.springframework.security.access.expression.AbstractSecurityExpressionHandler
createEvaluationContext, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy
-
-
-
-
Method Detail
-
createSecurityExpressionRoot
protected org.springframework.security.access.expression.method.MethodSecurityExpressionOperations createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.aopalliance.intercept.MethodInvocation invocation)Creates the root object for expression evaluation.- Overrides:
createSecurityExpressionRootin classorg.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler- Parameters:
authentication- the authenticationinvocation- the invocation- Returns:
- the root object for expression evaluation
-
-