Class SecurityExceptionHandler
java.lang.Object
energy.eddie.spring.regionconnector.extensions.SecurityExceptionHandler
- All Implemented Interfaces:
org.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
public class SecurityExceptionHandler
extends Object
implements org.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityExceptionHandler(com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> customizer)
-
Constructor Details
-
SecurityExceptionHandler
public SecurityExceptionHandler(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
customize
public void customize(org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> customizer) - Specified by:
customizein interfaceorg.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>
-