Package org.ehrbase.application.abac
Class CustomMethodSecurityExpressionHandler
- java.lang.Object
-
- org.springframework.security.access.expression.AbstractSecurityExpressionHandler<org.aopalliance.intercept.MethodInvocation>
-
- org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
-
- org.ehrbase.application.abac.CustomMethodSecurityExpressionHandler
-
- 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>
@ConditionalOnProperty(name="abac.enabled") @Component public class CustomMethodSecurityExpressionHandler extends org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
-
-
Constructor Summary
Constructors Constructor Description CustomMethodSecurityExpressionHandler(AbacConfig abacConfig, CompositionService compositionService, ContributionService contributionService, EhrService ehrService, AbacConfig.AbacCheck abacCheck)
-
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)-
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
-
-
-
-
Constructor Detail
-
CustomMethodSecurityExpressionHandler
@Lazy public CustomMethodSecurityExpressionHandler(AbacConfig abacConfig, CompositionService compositionService, ContributionService contributionService, EhrService ehrService, AbacConfig.AbacCheck abacCheck)
-
-
Method Detail
-
createSecurityExpressionRoot
protected org.springframework.security.access.expression.method.MethodSecurityExpressionOperations createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, org.aopalliance.intercept.MethodInvocation invocation)- Overrides:
createSecurityExpressionRootin classorg.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler
-
-