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