@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(org.springframework.beans.factory.ObjectProvider<AuditEventRepository> auditEventRepository) |
Modifier and Type | Method and Description |
---|---|
AuditListener |
auditListener() |
AuthenticationAuditListener |
authenticationAuditListener() |
AuthorizationAuditListener |
authorizationAuditListener() |
public AuditAutoConfiguration(org.springframework.beans.factory.ObjectProvider<AuditEventRepository> auditEventRepository)
@Bean @ConditionalOnMissingBean(value=AbstractAuditListener.class) public AuditListener auditListener() 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.