You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -623,14 +624,14 @@ class RelyingPartyAssertionSpec
623
624
Some(
624
625
if (username == owner.username) owner.userHandle
625
626
else nonOwner.userHandle
626
-
).asJava
627
+
).toJava
627
628
overridedefgetUsernameForUserHandle(
628
629
userHandle: ByteArray
629
630
):Optional[String] =
630
631
Some(
631
632
if (userHandle == owner.userHandle) owner.username
632
633
else nonOwner.username
633
-
).asJava
634
+
).toJava
634
635
})
635
636
636
637
describe("If the user was identified before the authentication ceremony was initiated, e.g., via a username or cookie, verify that the identified user is the owner of credentialSource. If response.userHandle is present, let userHandle be its value. Verify that userHandle also maps to the same user.") {
@@ -749,7 +750,7 @@ class RelyingPartyAssertionSpec
749
750
valstep: steps.Step7=new steps.Step7(
750
751
Defaults.username,
751
752
Defaults.userHandle,
752
-
None.asJava,
753
+
None.toJava,
753
754
)
754
755
755
756
step.validations shouldBe a[Failure[_]]
@@ -1302,7 +1303,7 @@ class RelyingPartyAssertionSpec
1302
1303
valappid=newAppId("https://test.example.org/foo")
1303
1304
valextensions=AssertionExtensionInputs
1304
1305
.builder()
1305
-
.appid(Some(appid).asJava)
1306
+
.appid(Some(appid).toJava)
1306
1307
.build()
1307
1308
1308
1309
it("fails if RP ID is different.") {
@@ -2238,10 +2239,10 @@ class RelyingPartyAssertionSpec
2238
2239
.build()
2239
2240
)
2240
2241
2241
-
result.getClientExtensionOutputs.get.getLargeBlob.get.getWritten.asScala should be(
2242
+
result.getClientExtensionOutputs.get.getLargeBlob.get.getWritten.toScala should be(
2242
2243
Some(true)
2243
2244
)
2244
-
result.getClientExtensionOutputs.get.getLargeBlob.get.getBlob.asScala should be(
2245
+
result.getClientExtensionOutputs.get.getLargeBlob.get.getBlob.toScala should be(
2245
2246
None
2246
2247
)
2247
2248
}
@@ -2282,10 +2283,10 @@ class RelyingPartyAssertionSpec
2282
2283
.build()
2283
2284
)
2284
2285
2285
-
result.getClientExtensionOutputs.get.getLargeBlob.get.getBlob.asScala should be(
2286
+
result.getClientExtensionOutputs.get.getLargeBlob.get.getBlob.toScala should be(
2286
2287
Some(ByteArray.fromHex("00010203"))
2287
2288
)
2288
-
result.getClientExtensionOutputs.get.getLargeBlob.get.getWritten.asScala should be(
2289
+
result.getClientExtensionOutputs.get.getLargeBlob.get.getWritten.toScala should be(
2289
2290
None
2290
2291
)
2291
2292
}
@@ -2337,7 +2338,7 @@ class RelyingPartyAssertionSpec
2337
2338
.build()
2338
2339
)
2339
2340
2340
-
result.getAuthenticatorExtensionOutputs.get.getUvm.asScala should equal(
2341
+
result.getAuthenticatorExtensionOutputs.get.getUvm.toScala should equal(
0 commit comments