Add RuntimeHints suffix for RuntimeHintsRegistrar

Closes gh-11497
This commit is contained in:
Marcus Da Coregio 2022-07-13 10:14:43 -03:00
parent 177baba8c9
commit 7abea4a964
12 changed files with 16 additions and 16 deletions

View File

@ -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) {

View File

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

View File

@ -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();

View File

@ -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) {

View File

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

View File

@ -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();

View File

@ -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) {

View File

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

View File

@ -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();

View File

@ -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) {

View File

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

View File

@ -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();