Quellcode durchsuchen

Move webauthn runtimehints to spring-security-webauthn

Issue gh-17586
Rob Winch vor 1 Monat
Ursprung
Commit
fe411896af

+ 1 - 3
web/src/main/resources/META-INF/spring/aot.factories

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

+ 1 - 1
web/src/main/java/org/springframework/security/web/aot/hint/PublicKeyCredentialUserEntityRuntimeHints.java → webauthn/src/main/java/org/springframework/security/web/webauthn/aot/PublicKeyCredentialUserEntityRuntimeHints.java

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.springframework.security.web.aot.hint;
+package org.springframework.security.web.webauthn.aot;
 
 import org.springframework.aot.hint.RuntimeHints;
 import org.springframework.aot.hint.RuntimeHintsRegistrar;

+ 1 - 1
web/src/main/java/org/springframework/security/web/aot/hint/UserCredentialRuntimeHints.java → webauthn/src/main/java/org/springframework/security/web/webauthn/aot/UserCredentialRuntimeHints.java

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.springframework.security.web.aot.hint;
+package org.springframework.security.web.webauthn.aot;
 
 import org.springframework.aot.hint.RuntimeHints;
 import org.springframework.aot.hint.RuntimeHintsRegistrar;

+ 3 - 0
webauthn/src/main/resources/META-INF/spring/aot.factories

@@ -0,0 +1,3 @@
+org.springframework.aot.hint.RuntimeHintsRegistrar=\
+org.springframework.security.web.webauthn.aot.UserCredentialRuntimeHints,\
+org.springframework.security.web.webauthn.aot.PublicKeyCredentialUserEntityRuntimeHints

+ 1 - 1
web/src/test/java/org/springframework/security/web/aot/hint/PublicKeyCredentialUserEntityRuntimeHintsTests.java → webauthn/src/test/java/org/springframework/security/web/webauthn/aot/PublicKeyCredentialUserEntityRuntimeHintsTests.java

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.springframework.security.web.aot.hint;
+package org.springframework.security.web.webauthn.aot;
 
 import java.util.stream.Stream;
 

+ 1 - 1
web/src/test/java/org/springframework/security/web/aot/hint/UserCredentialRuntimeHintsTests.java → webauthn/src/test/java/org/springframework/security/web/webauthn/aot/UserCredentialRuntimeHintsTests.java

@@ -14,7 +14,7 @@
  * limitations under the License.
  */
 
-package org.springframework.security.web.aot.hint;
+package org.springframework.security.web.webauthn.aot;
 
 import java.util.stream.Stream;