Camden如何升级Greenwich安全认证,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。
idea会提示已废弃。
org/springframework/boot/spring-boot-autoconfigure/2.1.2.RELEASE/spring-boot-autoconfigure-2.1.2.RELEASE.jar!/META-INF/spring-configuration-metadata.json
{
"name": "security.user.name",
"type": "java.lang.String",
"description": "Default user name.",
"defaultValue": "user",
"deprecated": true,
"deprecation": {
"level": "error",
"replacement": "spring.security.user.name"
}
},
这个已经废弃。前面加spring代替了。
{
"name": "security.basic.enabled",
"type": "java.lang.Boolean",
"description": "Whether to enable basic authentication.",
"defaultValue": true,
"deprecated": true,
"deprecation": {
"level": "error",
"reason": "The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead."
}
},
这个也废弃了。WebSecurityConfigurer这个代替了。
第一个要替换,第二个不替换也行。
关于Camden如何升级Greenwich安全认证问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注天达云行业资讯频道了解更多相关知识。