Class SecurityAuditorAware

java.lang.Object
fr.tiogars.inception.config.SecurityAuditorAware
All Implemented Interfaces:
org.springframework.data.domain.AuditorAware<String>

@Component public class SecurityAuditorAware extends Object implements org.springframework.data.domain.AuditorAware<String>
Resolves audit actors from the authenticated security context.
  • Constructor Details

    • SecurityAuditorAware

      public SecurityAuditorAware()
  • Method Details

    • getCurrentAuditor

      public Optional<String> getCurrentAuditor()
      Specified by:
      getCurrentAuditor in interface org.springframework.data.domain.AuditorAware<String>