Java: Fix LdapInjection qltest

This commit is contained in:
Anders Schack-Mulligen
2020-07-08 14:04:01 +02:00
parent 48e4759632
commit 581d496167
6 changed files with 319 additions and 228 deletions

View File

@@ -0,0 +1,9 @@
package org.springframework.stereotype;
import java.lang.annotation.*;
@Target(value=ElementType.TYPE)
@Retention(value=RetentionPolicy.RUNTIME)
@Documented
@Indexed
public @interface Component { }

View File

@@ -0,0 +1,9 @@
package org.springframework.stereotype;
import java.lang.annotation.*;
@Target(value=ElementType.TYPE)
@Retention(value=RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface Controller { }

View File

@@ -0,0 +1,8 @@
package org.springframework.stereotype;
import java.lang.annotation.*;
@Target(value=ElementType.TYPE)
@Retention(value=RetentionPolicy.RUNTIME)
@Documented
public @interface Indexed { }

View File

@@ -0,0 +1,8 @@
package org.springframework.web.bind.annotation;
import java.lang.annotation.*;
@Target(value={ElementType.METHOD,ElementType.TYPE})
@Retention(value=RetentionPolicy.RUNTIME)
@Documented
public @interface RequestMapping { }