Skip to content

Commit 452daaf

Browse files
committed
Spring Data JPA Auditing
1 parent 5b84793 commit 452daaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HibernateSpringBootAudit/src/main/java/com/bookstore/auditor/AuditorAwareImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class AuditorAwareImpl implements AuditorAware<String> {
99

1010
@Override
1111
public Optional<String> getCurrentAuditor() {
12-
// use Spring Security to retrive the current user
12+
// use Spring Security to retrive the current logged-in user(s)
1313
return Optional.of(Arrays.asList("mark1990", "adrianm", "dan555")
1414
.get(new Random().nextInt(3)));
1515
}

0 commit comments

Comments
 (0)