Pārlūkot izejas kodu

代登陆鉴权逻辑调整

master
niohe·erbao pirms 1 gada
vecāks
revīzija
88d79a7f87
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/agent/AgentAuthSecurityConfig.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/security/auth/agent/AgentAuthSecurityConfig.java Parādīt failu

@@ -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);


Notiek ielāde…
Atcelt
Saglabāt