build: 获取公钥接口可以匿名进入
This commit is contained in:
parent
99fd8437c7
commit
f3f5a826f3
|
@ -61,7 +61,7 @@ public class LoginController {
|
|||
|
||||
@GetMapping(value = "/get-key")
|
||||
@Operation(summary = "获取公钥")
|
||||
public ResultHolder getKey(HttpServletResponse response) throws Exception {
|
||||
public ResultHolder getKey() throws Exception {
|
||||
RsaKey rsaKey = RsaUtil.getRsaKey();
|
||||
return ResultHolder.success(rsaKey.getPublicKey());
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ public class FilterChainUtils {
|
|||
filterChainDefinitionMap.put("/ldap/open", "anon");
|
||||
filterChainDefinitionMap.put("/signout", "anon");
|
||||
filterChainDefinitionMap.put("/is-login", "anon");
|
||||
filterChainDefinitionMap.put("/get-key", "anon");
|
||||
filterChainDefinitionMap.put("/css/**", "anon");
|
||||
filterChainDefinitionMap.put("/js/**", "anon");
|
||||
filterChainDefinitionMap.put("/images/**", "anon");
|
||||
|
|
Loading…
Reference in New Issue