Kaynağa Gözat

Revert "Move webauthn runtimehints to spring-security-webauthn"

This reverts commit fe411896af5ae5d5b50babfa292152335a3bf193.
Rob Winch 1 ay önce
ebeveyn
işleme
9489ab48ab

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

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

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

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

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

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

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

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

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

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

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

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