|
|
@@ -40,7 +40,7 @@ public class AgentAuthSecurityConfig |
|
|
|
@Override |
|
|
|
public void configure(HttpSecurity http) throws Exception { |
|
|
|
AgentAuthFilter agentAuthFilter = |
|
|
|
new AgentAuthFilter(authProperties.getPasswordLoginUrl()); |
|
|
|
new AgentAuthFilter(authProperties.getAgentLoginUrl()); |
|
|
|
authenticationManager = http.getSharedObject(AuthenticationManager.class); |
|
|
|
agentAuthFilter.setAuthenticationManager(authenticationManager); |
|
|
|
agentAuthFilter.setAuthenticationSuccessHandler(defaultLoginSuccessHandler); |
|
|
|