@Configuration public class AuditAutoConfiguration extends Object
Auto-configuration
for AuditEvent
s.Modifier and Type | Class and Description |
---|---|
protected static class |
AuditAutoConfiguration.AuditEventRepositoryConfiguration |
Constructor and Description |
---|
AuditAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
AuditListener |
auditListener(ObjectProvider<AuditEventRepository> auditEventRepository) |
AuthenticationAuditListener |
authenticationAuditListener() |
AuthorizationAuditListener |
authorizationAuditListener() |
@Bean @ConditionalOnMissingBean(value=AbstractAuditListener.class) public AuditListener auditListener(ObjectProvider<AuditEventRepository> auditEventRepository) throws Exception
Exception
@Bean @ConditionalOnClass(name="org.springframework.security.authentication.event.AbstractAuthenticationEvent") @ConditionalOnMissingBean(value=AbstractAuthenticationAuditListener.class) public AuthenticationAuditListener authenticationAuditListener() throws Exception
Exception
@Bean @ConditionalOnClass(name="org.springframework.security.access.event.AbstractAuthorizationEvent") @ConditionalOnMissingBean(value=AbstractAuthorizationAuditListener.class) public AuthorizationAuditListener authorizationAuditListener() throws Exception
Exception
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.