@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(ObjectProvider<AuditEventRepository> auditEventRepository) |
Modifier and Type | Method and Description |
---|---|
AuditListener |
auditListener() |
AuthenticationAuditListener |
authenticationAuditListener() |
AuthorizationAuditListener |
authorizationAuditListener() |
public AuditAutoConfiguration(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 © 2017 Pivotal Software, Inc.. All rights reserved.