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

    Constructors
    Constructor
    Description
    SecurityExceptionHandler(com.fasterxml.jackson.databind.ObjectMapper mapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity> customizer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      customize in interface org.springframework.security.config.Customizer<org.springframework.security.config.annotation.web.configurers.ExceptionHandlingConfigurer<org.springframework.security.config.annotation.web.builders.HttpSecurity>>