Created
February 13, 2016 20:01
-
-
Save lindabjalla/87193f5e725f25f12c71 to your computer and use it in GitHub Desktop.
UsernameAuditorAware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package se.grouprich.projectmanagement.model.auditing; | |
import org.springframework.data.domain.AuditorAware; | |
public class UsernameAuditorAware implements AuditorAware<String> | |
{ | |
@Override | |
public String getCurrentAuditor() | |
{ | |
return "DefaultUser"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment