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 daa4f439a5
commit 8eaa6ddea5

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;