|
|
@@ -40,7 +40,7 @@ public class CommonAuthSecurityConfig |
|
|
|
@Override |
|
|
|
public void configure(HttpSecurity http) throws Exception { |
|
|
|
CommonAuthFilter commonAuthFilter = |
|
|
|
new CommonAuthFilter(authProperties.getAgentLoginUrl()); |
|
|
|
new CommonAuthFilter(authProperties.getCommonLoginUrl()); |
|
|
|
authenticationManager = http.getSharedObject(AuthenticationManager.class); |
|
|
|
commonAuthFilter.setAuthenticationManager(authenticationManager); |
|
|
|
commonAuthFilter.setAuthenticationSuccessHandler(defaultLoginSuccessHandler); |
|
|
|