Correct typo in boot validation type name

This commit is contained in:
aboyko
2023-06-12 11:10:13 -04:00
parent b257595fa2
commit f3b7a2f7ad
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ public enum Boot2JavaProblemType implements ProblemType {
MISSING_CONFIGURATION_ANNOTATION(WARNING, "Class likely missing '@Configuration' annotation, i.e. has Bean methods but no '@Configuration' annotation", "Missing '@Configuration'"),
HTTP_SECIRITY_AUTHORIZE_HTTP_REQUESTS(WARNING, "'HttpSecurity.authroizeRequests(...)' API and related classes are to be deprecated use new `authorizeHttpRequests(...) and related classes", "Usage of old 'HttpSecurity.authroizeRequests(...)' API"),
HTTP_SECURITY_AUTHORIZE_HTTP_REQUESTS(WARNING, "'HttpSecurity.authroizeRequests(...)' API and related classes are to be deprecated use new `authorizeHttpRequests(...) and related classes", "Usage of old 'HttpSecurity.authroizeRequests(...)' API"),
WEB_SECURITY_CONFIGURER_ADAPTER(WARNING, "'WebSecurityConfigurerAdapter' is removed in Spring-Security 6.x. Refactor classes extending the 'WebSecurityConfigurerAdapter' into 'Configuration' beans and methods into 'Bean' definitions ", "Replace usage of 'WebSecurityConfigurerAdapter' as this class to be removed in Security 6.x"),

View File

@@ -52,7 +52,7 @@ public class AuthorizeHttpRequestsCodeAction implements RecipeCodeActionDescript
@Override
public ProblemType getProblemType() {
return Boot2JavaProblemType.HTTP_SECIRITY_AUTHORIZE_HTTP_REQUESTS;
return Boot2JavaProblemType.HTTP_SECURITY_AUTHORIZE_HTTP_REQUESTS;
}
@Override

View File

@@ -63,7 +63,7 @@
"defaultSeverity": "WARNING"
},
{
"code": "HTTP_SECIRITY_AUTHORIZE_HTTP_REQUESTS",
"code": "HTTP_SECURITY_AUTHORIZE_HTTP_REQUESTS",
"label": "Usage of old 'HttpSecurity.authroizeRequests(...)' API",
"description": "'HttpSecurity.authroizeRequests(...)' API and related classes are to be deprecated use new `authorizeHttpRequests(...) and related classes",
"defaultSeverity": "WARNING"

View File

@@ -420,7 +420,7 @@
"ERROR"
]
},
"spring-boot.ls.problem.boot2.HTTP_SECIRITY_AUTHORIZE_HTTP_REQUESTS": {
"spring-boot.ls.problem.boot2.HTTP_SECURITY_AUTHORIZE_HTTP_REQUESTS": {
"type": "string",
"default": "WARNING",
"description": "'HttpSecurity.authroizeRequests(...)' API and related classes are to be deprecated use new `authorizeHttpRequests(...) and related classes",