Class CsrfProtection
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.security.spring.CsrfProtection
-
public class CsrfProtection extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description CsrfProtection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getApplicableTest()java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.time.DurationgetEstimatedEffortPerOccurrence()protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>getSingleSourceApplicableTest()protected org.openrewrite.java.JavaVisitor<org.openrewrite.ExecutionContext>getVisitor()protected java.util.List<org.openrewrite.SourceFile>visit(java.util.List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx)
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getEstimatedEffortPerOccurrence
public java.time.Duration getEstimatedEffortPerOccurrence()
- Overrides:
getEstimatedEffortPerOccurrencein classorg.openrewrite.Recipe
-
getApplicableTest
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getApplicableTest()
- Overrides:
getApplicableTestin classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
visit
protected java.util.List<org.openrewrite.SourceFile> visit(java.util.List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx)- Overrides:
visitin classorg.openrewrite.Recipe
-
getVisitor
protected org.openrewrite.java.JavaVisitor<org.openrewrite.ExecutionContext> getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
-