Class SpringSecurityAuditorAware

  • All Implemented Interfaces:
    org.springframework.data.domain.AuditorAware<String>

    @Component
    public class SpringSecurityAuditorAware
    extends Object
    implements org.springframework.data.domain.AuditorAware<String>
    Implementation of AuditorAware based on Spring Security.
    • Constructor Detail

      • SpringSecurityAuditorAware

        public SpringSecurityAuditorAware()
    • Method Detail

      • getCurrentAuditor

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