Class AuditAutoConfiguration
java.lang.Object
org.springframework.boot.actuate.autoconfigure.audit.AuditAutoConfiguration
@AutoConfiguration
@ConditionalOnBean(AuditEventRepository.class)
@ConditionalOnProperty(prefix="management.auditevents",
name="enabled",
matchIfMissing=true)
public class AuditAutoConfiguration
extends Object
Auto-configuration
for AuditEvent
s.- Since:
- 2.0.0
- Author:
- Dave Syer, Vedran Pavic
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AuditAutoConfiguration
public AuditAutoConfiguration()
-
-
Method Details
-
auditListener
@Bean @ConditionalOnMissingBean(AbstractAuditListener.class) public AuditListener auditListener(AuditEventRepository auditEventRepository) -
authenticationAuditListener
@Bean @ConditionalOnClass(name="org.springframework.security.authentication.event.AbstractAuthenticationEvent") @ConditionalOnMissingBean(AbstractAuthenticationAuditListener.class) public AuthenticationAuditListener authenticationAuditListener() -
authorizationAuditListener
@Bean @ConditionalOnClass(name="org.springframework.security.access.event.AbstractAuthorizationEvent") @ConditionalOnMissingBean(AbstractAuthorizationAuditListener.class) public AuthorizationAuditListener authorizationAuditListener()
-