File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn/data Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 15
15
import com .yubico .webauthn .extension .uvm .MatcherProtectionType ;
16
16
import com .yubico .webauthn .extension .uvm .UserVerificationMethod ;
17
17
import java .util .Arrays ;
18
+ import java .util .Collections ;
18
19
import java .util .HashMap ;
19
20
import java .util .List ;
20
21
import java .util .Map ;
@@ -804,7 +805,8 @@ public PrfAuthenticationInput(
804
805
@ JsonProperty ("eval" ) PrfValues eval ,
805
806
@ JsonProperty ("evalByCredential" ) Map <ByteArray , PrfValues > evalByCredential ) {
806
807
this .eval = eval ;
807
- this .evalByCredential = evalByCredential ;
808
+ this .evalByCredential =
809
+ evalByCredential == null ? null : Collections .unmodifiableMap (evalByCredential );
808
810
}
809
811
810
812
public Optional <PrfValues > getEval () {
You can’t perform that action at this time.
0 commit comments