Add RuntimeHints suffix for RuntimeHintsRegistrar
Closes gh-11497
This commit is contained in:
parent
177baba8c9
commit
7abea4a964
|
@ -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) {
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.aot.hint.RuntimeHintsRegistrar=\
|
||||
org.springframework.security.config.aot.hint.GlobalMethodSecurityHints
|
||||
org.springframework.security.config.aot.hint.GlobalMethodSecurityRuntimeHints
|
||||
|
|
|
@ -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();
|
||||
|
|
@ -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) {
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.aot.hint.RuntimeHintsRegistrar=\
|
||||
org.springframework.security.aot.hint.CoreSecurityHints
|
||||
org.springframework.security.aot.hint.CoreSecurityRuntimeHints
|
||||
|
|
|
@ -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();
|
||||
|
|
@ -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) {
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.aot.hint.RuntimeHintsRegistrar=\
|
||||
org.springframework.security.ldap.aot.hint.LdapSecurityHints
|
||||
org.springframework.security.ldap.aot.hint.LdapSecurityRuntimeHints
|
||||
|
|
|
@ -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();
|
||||
|
|
@ -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) {
|
|
@ -1,2 +1,2 @@
|
|||
org.springframework.aot.hint.RuntimeHintsRegistrar=\
|
||||
org.springframework.security.web.aot.hint.WebMvcSecurityHints
|
||||
org.springframework.security.web.aot.hint.WebMvcSecurityRuntimeHints
|
||||
|
|
|
@ -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…
Reference in New Issue