EncryptionBootstrapConfiguration.RsaEncryptionConfiguration:
Did not match:
- Keystore nor key found in Environment (EncryptionBootstrapConfiguration.KeyCondition)
Matched:
- @ConditionalOnClass found required class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor'; @ConditionalOnMissingClass did not find unwanted class (OnClassCondition)
EncryptionBootstrapConfiguration.VanillaEncryptionConfiguration:
Did not match:
- @ConditionalOnMissingClass found unwanted class 'org.springframework.security.rsa.crypto.RsaSecretEncryptor' (OnClassCondition)
解决办法:检查配置文件格式,有咩有加空格等
本文探讨了在使用Spring Security框架进行RSA加密配置时遇到的问题,主要集中在未找到密钥库或环境中的密钥,以及条件注解在类路径中找到不期望的类。文章提供了检查配置文件格式和排除空格错误的解决方案。


被折叠的 条评论
为什么被折叠?



