Browse Source

Add RuntimeHints suffix for RuntimeHintsRegistrar

Closes gh-11497
pull/11464/head
Marcus Da Coregio 3 years ago
parent
commit
7abea4a964
  1. 2
      config/src/main/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityRuntimeHints.java
  2. 2
      config/src/main/resources/META-INF/spring/aot.factories
  3. 4
      config/src/test/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityRuntimeHintsTests.java
  4. 2
      core/src/main/java/org/springframework/security/aot/hint/CoreSecurityRuntimeHints.java
  5. 2
      core/src/main/resources/META-INF/spring/aot.factories
  6. 4
      core/src/test/java/org/springframework/security/aot/hint/CoreSecurityRuntimeHintsTests.java
  7. 2
      ldap/src/main/java/org/springframework/security/ldap/aot/hint/LdapSecurityRuntimeHints.java
  8. 2
      ldap/src/main/resources/META-INF/spring/aot.factories
  9. 4
      ldap/src/test/java/org/springframework/security/ldap/aot/hint/LdapSecurityRuntimeHintsTests.java
  10. 2
      web/src/main/java/org/springframework/security/web/aot/hint/WebMvcSecurityRuntimeHints.java
  11. 2
      web/src/main/resources/META-INF/spring/aot.factories
  12. 4
      web/src/test/java/org/springframework/security/web/aot/hint/WebMvcSecurityRuntimeHintsTests.java

2
config/src/main/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityHints.java → config/src/main/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityRuntimeHints.java

@ -28,7 +28,7 @@ import org.springframework.security.config.annotation.authentication.configurati @@ -28,7 +28,7 @@ import org.springframework.security.config.annotation.authentication.configurati
* @author Marcus Da Coregio
* @since 6.0
*/
class GlobalMethodSecurityHints implements RuntimeHintsRegistrar {
class GlobalMethodSecurityRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

2
config/src/main/resources/META-INF/spring/aot.factories

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.security.config.aot.hint.GlobalMethodSecurityHints
org.springframework.security.config.aot.hint.GlobalMethodSecurityRuntimeHints

4
config/src/test/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityHintsTests.java → config/src/test/java/org/springframework/security/config/aot/hint/GlobalMethodSecurityRuntimeHintsTests.java

@ -31,11 +31,11 @@ import org.springframework.util.ClassUtils; @@ -31,11 +31,11 @@ import org.springframework.util.ClassUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link GlobalMethodSecurityHints}
* Tests for {@link GlobalMethodSecurityRuntimeHints}
*
* @author Marcus Da Coregio
*/
class GlobalMethodSecurityHintsTests {
class GlobalMethodSecurityRuntimeHintsTests {
private final RuntimeHints hints = new RuntimeHints();

2
core/src/main/java/org/springframework/security/aot/hint/CoreSecurityHints.java → core/src/main/java/org/springframework/security/aot/hint/CoreSecurityRuntimeHints.java

@ -48,7 +48,7 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException; @@ -48,7 +48,7 @@ import org.springframework.security.core.userdetails.UsernameNotFoundException;
* @author Marcus Da Coregio
* @since 6.0
*/
class CoreSecurityHints implements RuntimeHintsRegistrar {
class CoreSecurityRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

2
core/src/main/resources/META-INF/spring/aot.factories

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.security.aot.hint.CoreSecurityHints
org.springframework.security.aot.hint.CoreSecurityRuntimeHints

4
core/src/test/java/org/springframework/security/aot/hint/CoreSecurityHintsTests.java → core/src/test/java/org/springframework/security/aot/hint/CoreSecurityRuntimeHintsTests.java

@ -53,11 +53,11 @@ import org.springframework.util.ClassUtils; @@ -53,11 +53,11 @@ import org.springframework.util.ClassUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link CoreSecurityHints}
* Tests for {@link CoreSecurityRuntimeHints}
*
* @author Marcus Da Coregio
*/
class CoreSecurityHintsTests {
class CoreSecurityRuntimeHintsTests {
private final RuntimeHints hints = new RuntimeHints();

2
ldap/src/main/java/org/springframework/security/ldap/aot/hint/LdapSecurityHints.java → ldap/src/main/java/org/springframework/security/ldap/aot/hint/LdapSecurityRuntimeHints.java

@ -27,7 +27,7 @@ import org.springframework.aot.hint.TypeReference; @@ -27,7 +27,7 @@ import org.springframework.aot.hint.TypeReference;
* @author Marcus Da Coregio
* @since 6.0
*/
class LdapSecurityHints implements RuntimeHintsRegistrar {
class LdapSecurityRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

2
ldap/src/main/resources/META-INF/spring/aot.factories

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.security.ldap.aot.hint.LdapSecurityHints
org.springframework.security.ldap.aot.hint.LdapSecurityRuntimeHints

4
ldap/src/test/java/org/springframework/security/ldap/aot/hint/LdapSecurityHintsTests.java → ldap/src/test/java/org/springframework/security/ldap/aot/hint/LdapSecurityRuntimeHintsTests.java

@ -29,11 +29,11 @@ import org.springframework.util.ClassUtils; @@ -29,11 +29,11 @@ import org.springframework.util.ClassUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link LdapSecurityHints}
* Tests for {@link LdapSecurityRuntimeHints}
*
* @author Marcus Da Coregio
*/
class LdapSecurityHintsTests {
class LdapSecurityRuntimeHintsTests {
private final RuntimeHints hints = new RuntimeHints();

2
web/src/main/java/org/springframework/security/web/aot/hint/WebMvcSecurityHints.java → web/src/main/java/org/springframework/security/web/aot/hint/WebMvcSecurityRuntimeHints.java

@ -27,7 +27,7 @@ import org.springframework.security.web.access.expression.WebSecurityExpressionR @@ -27,7 +27,7 @@ import org.springframework.security.web.access.expression.WebSecurityExpressionR
* @author Marcus Da Coregio
* @since 6.0
*/
class WebMvcSecurityHints implements RuntimeHintsRegistrar {
class WebMvcSecurityRuntimeHints implements RuntimeHintsRegistrar {
@Override
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {

2
web/src/main/resources/META-INF/spring/aot.factories

@ -1,2 +1,2 @@ @@ -1,2 +1,2 @@
org.springframework.aot.hint.RuntimeHintsRegistrar=\
org.springframework.security.web.aot.hint.WebMvcSecurityHints
org.springframework.security.web.aot.hint.WebMvcSecurityRuntimeHints

4
web/src/test/java/org/springframework/security/web/aot/hint/WebMvcSecurityHintsTests.java → web/src/test/java/org/springframework/security/web/aot/hint/WebMvcSecurityRuntimeHintsTests.java

@ -30,11 +30,11 @@ import org.springframework.util.ClassUtils; @@ -30,11 +30,11 @@ import org.springframework.util.ClassUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link WebMvcSecurityHints}
* Tests for {@link WebMvcSecurityRuntimeHints}
*
* @author Marcus Da Coregio
*/
class WebMvcSecurityHintsTests {
class WebMvcSecurityRuntimeHintsTests {
private final RuntimeHints hints = new RuntimeHints();
Loading…
Cancel
Save