@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() |
AuthenticationAuditListener |
authenticationAuditListener() |
AuthorizationAuditListener |
authorizationAuditListener() |
@Bean public AuditListener auditListener() throws Exception
Exception
@Bean @ConditionalOnClass(name="org.springframework.security.authentication.event.AbstractAuthenticationEvent") public AuthenticationAuditListener authenticationAuditListener() throws Exception
Exception
@Bean @ConditionalOnClass(name="org.springframework.security.access.event.AbstractAuthorizationEvent") public AuthorizationAuditListener authorizationAuditListener() throws Exception
Exception
Copyright © 2014. All rights reserved.