File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/audit Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
import java .util .HashMap ;
23
23
import java .util .Map ;
24
24
25
+ import org .springframework .context .ApplicationEventPublisher ;
25
26
import org .springframework .context .ApplicationEventPublisherAware ;
26
- import org .springframework .security .authentication .AuthenticationEventPublisher ;
27
27
import org .springframework .util .Assert ;
28
28
29
29
/**
32
32
* such an event.
33
33
* <p>
34
34
* Users can inject a {@link AuditEventRepository} to publish their own events or
35
- * alternatively use Springs {@link AuthenticationEventPublisher} (usually obtained by
36
- * implementing {@link ApplicationEventPublisherAware}).
35
+ * alternatively use Spring's {@link ApplicationEventPublisher} (usually obtained by
36
+ * implementing {@link ApplicationEventPublisherAware}) to publish AuditApplicationEvents
37
+ * (wrappers for AuditEvent).
37
38
*
38
39
* @author Dave Syer
39
40
* @see AuditEventRepository
Original file line number Diff line number Diff line change 18
18
19
19
import org .apache .commons .logging .Log ;
20
20
import org .apache .commons .logging .LogFactory ;
21
- import org .springframework .boot .actuate .audit .AuditEvent ;
22
21
import org .springframework .boot .actuate .audit .AuditEventRepository ;
23
22
import org .springframework .context .ApplicationListener ;
24
23
25
24
/**
26
- * {@link ApplicationListener} that listens for {@link AuditEvent }s and stores them in a
27
- * {@link AuditEventRepository}.
25
+ * {@link ApplicationListener} that listens for {@link AuditApplicationEvent }s and stores
26
+ * them in a {@link AuditEventRepository}.
28
27
*
29
28
* @author Dave Syer
30
29
*/
You can’t perform that action at this time.
0 commit comments