Use spring-security-crypto rsa rather than spring-security rsa

fixes gh-2667
This commit is contained in:
Been24
2024-12-06 13:14:13 +08:00
committed by spencergibb
parent 20beaf58f7
commit 4b94c0409b

View File

@@ -61,7 +61,7 @@ public class ConfigServerConfigDataLocationResolver
*/
public static final String PREFIX = "configserver:";
static final boolean RSA_IS_PRESENT = ClassUtils
.isPresent("org.springframework.security.rsa.crypto.RsaSecretEncryptor", null);
.isPresent("org.springframework.security.crypto.encrypt.RsaSecretEncryptor", null);
private final Log log;