|
|
|
|
@ -56,8 +56,6 @@ class HttpSecurityConfiguration {
@@ -56,8 +56,6 @@ class HttpSecurityConfiguration {
|
|
|
|
|
|
|
|
|
|
private ObjectPostProcessor<Object> objectPostProcessor; |
|
|
|
|
|
|
|
|
|
private AuthenticationManager authenticationManager; |
|
|
|
|
|
|
|
|
|
private AuthenticationConfiguration authenticationConfiguration; |
|
|
|
|
|
|
|
|
|
private ApplicationContext context; |
|
|
|
|
@ -70,10 +68,6 @@ class HttpSecurityConfiguration {
@@ -70,10 +68,6 @@ class HttpSecurityConfiguration {
|
|
|
|
|
this.objectPostProcessor = objectPostProcessor; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void setAuthenticationManager(AuthenticationManager authenticationManager) { |
|
|
|
|
this.authenticationManager = authenticationManager; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Autowired |
|
|
|
|
void setAuthenticationConfiguration(AuthenticationConfiguration authenticationConfiguration) { |
|
|
|
|
this.authenticationConfiguration = authenticationConfiguration; |
|
|
|
|
@ -120,8 +114,7 @@ class HttpSecurityConfiguration {
@@ -120,8 +114,7 @@ class HttpSecurityConfiguration {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private AuthenticationManager authenticationManager() throws Exception { |
|
|
|
|
return (this.authenticationManager != null) ? this.authenticationManager |
|
|
|
|
: this.authenticationConfiguration.getAuthenticationManager(); |
|
|
|
|
return this.authenticationConfiguration.getAuthenticationManager(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private AuthenticationEventPublisher getAuthenticationEventPublisher() { |
|
|
|
|
|