Class AudittrailAnnotationInterceptorRegisterer

java.lang.Object
org.trustdeck.security.audittrail.annotation.AudittrailAnnotationInterceptorRegisterer
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration public class AudittrailAnnotationInterceptorRegisterer extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
This class is used to add the audittrail annotation interceptor in the interceptor registry.
Author:
Armin Müller and Eric Wündisch
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
    Registers the audit trail interceptor.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • AudittrailAnnotationInterceptorRegisterer

      public AudittrailAnnotationInterceptorRegisterer()
  • Method Details

    • addInterceptors

      public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
      Registers the audit trail interceptor.
      Specified by:
      addInterceptors in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
      Parameters:
      registry - the registry to use