Pre-release 1.5.0-RC1
Pre-release
Pre-release
Changes:
RelyingParty
now makes an immutable copy of theorigins
argument, instead of storing a reference to a possibly mutable value.- The enum
AuthenticatorTransport
has been replaced by a value class containing methods and value constants equivalent to the previous enum. - The return type of
PublicKeyCredentialDescriptor.getTransports()
is now aSortedSet
instead ofSet
. The builder still accepts a plainSet
. - Registration ceremony now verifies that the returned credential public key matches one of the algorithms specified in
RelyingParty.preferredPubkeyParams
and can be successfully parsed.
New features:
- Origin matching can now be relaxed via two new
RelyingParty
options:allowOriginPort
(defaultfalse
): Allow any port number in the originallowOriginSubdomain
(defaultfalse
): Allow any subdomain of any origin listed inRelyingParty.origins
- See JavaDoc for details and examples.
- The new
AuthenticatorTransport
can now contain any string value as the transport identifier, as required in the editor's draft of the L2 spec. See: w3c/webauthn#1275 - Added support for RS1 credentials. Registration of RS1 credentials is not enabled by default, but can be enabled by setting
RelyingParty.preferredPubKeyCredParams
to a list containingPublicKeyCredentialParameters.RS1
.- New constant
PublicKeyCredentialParameters.RS1
- New constant
COSEAlgorithmIdentifier.RS1
- New constant
Artifacts built with JDK 11.