Package africa.absa.inception.api
Class ApiMethodSecurityConfiguration
- java.lang.Object
-
- org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration
-
- africa.absa.inception.api.ApiMethodSecurityConfiguration
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.SmartInitializingSingleton,org.springframework.context.annotation.ImportAware
@EnableGlobalMethodSecurity(prePostEnabled=true) public class ApiMethodSecurityConfiguration extends org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfigurationThe ApiMethodSecurityConfiguration class applies the API-specific method security configuration to the global method security configuration.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description ApiMethodSecurityConfiguration(org.springframework.context.ApplicationContext applicationContext)Constructs a new ApiMethodSecurityConfiguration.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.security.access.expression.method.MethodSecurityExpressionHandlercreateExpressionHandler()org.springframework.security.access.expression.method.MethodSecurityExpressionHandlerexpressionHandler()-
Methods inherited from class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration
accessDecisionManager, afterInvocationManager, afterSingletonsInstantiated, authenticationManager, configure, customMethodSecurityMetadataSource, getExpressionHandler, methodSecurityInterceptor, methodSecurityMetadataSource, preInvocationAuthorizationAdvice, runAsManager, setBeanFactory, setImportMetadata, setMethodSecurityExpressionHandler, setObjectPostProcessor
-
-
-
-
Method Detail
-
expressionHandler
@Bean public org.springframework.security.access.expression.method.MethodSecurityExpressionHandler expressionHandler()
-
createExpressionHandler
protected org.springframework.security.access.expression.method.MethodSecurityExpressionHandler createExpressionHandler()
- Overrides:
createExpressionHandlerin classorg.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration
-
-