Skip to content

Commit 628e6e4

Browse files
rwinchmehrdadbozorgmehr
authored andcommitted
Enable Null checking in spring-security-webauthn via JSpecify
Closes gh-17839 Signed-off-by: M.Bozorgmehr <[email protected]>
1 parent 4c83eb5 commit 628e6e4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

webauthn/src/main/java/org/springframework/security/web/webauthn/management/RelyingPartyRegistrationRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package org.springframework.security.web.webauthn.management;
1818

19+
import org.jspecify.annotations.Nullable;
20+
1921
import org.springframework.security.web.webauthn.api.PublicKeyCredentialCreationOptions;
2022

2123
/**

webauthn/src/main/java/org/springframework/security/web/webauthn/management/WebAuthnRelyingPartyOperations.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717
package org.springframework.security.web.webauthn.management;
1818

19+
import org.jspecify.annotations.Nullable;
20+
1921
import org.springframework.security.core.Authentication;
2022
import org.springframework.security.web.webauthn.api.CredentialRecord;
2123
import org.springframework.security.web.webauthn.api.PublicKeyCredentialCreationOptions;

0 commit comments

Comments
 (0)