From 5af999be8cc3adb35443ead813610d4c31ba0891 Mon Sep 17 00:00:00 2001 From: Nick McKinney Date: Thu, 5 Oct 2023 14:17:44 -0400 Subject: [PATCH] add authorizeHttpRequests in HttpSecurityLambdaDsl fixes #438 --- .../openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java index 1f63be8d3..88add819f 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java @@ -29,7 +29,7 @@ public final class HttpSecurityLambdaDsl extends Recipe { private static final String FQN_HTTP_SECURITY = "org.springframework.security.config.annotation.web.builders.HttpSecurity"; private static final Collection APPLICABLE_METHOD_NAMES = Arrays.asList( - "anonymous", "authorizeRequests", "cors", "csrf", "exceptionHandling", "formLogin", + "anonymous", "authorizeHttpRequests", "authorizeRequests", "cors", "csrf", "exceptionHandling", "formLogin", "headers", "httpBasic", "jee", "logout", "oauth2Client", "oauth2Login", "oauth2ResourceServer", "openidLogin", "portMapper", "rememberMe", "requestCache", "requestMatchers", "requiresChannel", "saml2Login", "securityContext", "servletApi", "sessionManagement", "x509");