Skip to content

Instantly share code, notes, and snippets.

@lindabjalla
Created February 13, 2016 20:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lindabjalla/87193f5e725f25f12c71 to your computer and use it in GitHub Desktop.
UsernameAuditorAware
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