-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking changes: - Classes moved from package `com.yubico.webauthn.data` to `com.yubico.webauthn`: - `AssertionRequest` - `AssertionResult` - `RegistrationResult` - All public classes are now final. - All builders now enforce mandatory arguments at compile time. Some usages may therefore need to adjust the order of calls on the builder instance. - Static method `Attestation.trusted(boolean)` replaced with `.builder()` with `.trusted(boolean)` as builder method instead - `AuthenticatorAssertionResponse` constructor is now private. - `AuthenticatorAttestationResponse` constructor is now private. - `PublicKeyCredentialDescriptor` constructor is now private. - `PublicKeyCredentialRequestOptions` constructor is now private. - All classes that take collections as constructor (builder) arguments now make shallow copies of those collections, so that mutations of the collections don't propagate into the class instance. - Deleted interface `Crypto` and constructor parameter `crypto` of `RelyingParty` - Deleted interface `ChallengeGenerator` and constructor parameter `challengeGenerator` of `RelyingParty` - Updated implementation to agree with current editor's draft of the spec - Renamed class `AttestationData` to `AttestedCredentialData` - Enum constant `TokenBindingStatus.NOT_SUPPORTED` deleted; this is now instead signaled by a missing value - Parameter `RelyingParty.allowMissingTokenBinding` therefore removed - Enum constant `AttestationType.PRIVACY_CA` renamed to `ATTESTATION_CA` - Renamed class `AuthenticationDataFlags` to `AuthenticatorDataFlags` - Deleted constant `UserVerificationRequirement.DEFAULT` - Deleted method `AttestationObject.getAuthData()` - Changed type of field `RelyingParty.origins` from `List` to `Set` - Fixed (reduced) visibility of `RegisteredCredential` fields - Class `MetadataObject` moved to `webauthn-server-attestation` module - Updated and greatly expanded Javadoc New features: - Constructor parameter `pubKeyCredParams` of `RelyingParty` is now optional with a default value. - Constructor parameter `origins` of `RelyingParty` is now optional and defaults to a list whose only element is the RP ID prefixed with `https://`. - All classes with a builder now also have a `.toBuilder()` method.
- Loading branch information
Showing
122 changed files
with
3,160 additions
and
1,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "lombok"] | ||
path = lombok | ||
url = https://github.com/emlun/lombok.git | ||
branch = builder-javadoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,23 @@ | ||
language: java | ||
|
||
env: | ||
global: | ||
secure: sX5sJd2EUgzIT7uQN0YxA3faVHymBG/QPZ/St5IPqoQIXjZAMYBM0D1MrVOYaSOhgVKOJt+5vwCYU7MlY9Ha0rUPJgUPT+6CkVgUVCsQ1e8srAzaYp4ceIYaW2XpUIwhKHPBezulV3nLANRs0FibEN+eqTgL5A/qKtsU49BtQ1iUAVFFOzGcR48avo1UYxS0FLw+7MRLgH5NA6KJVHiGChx9P3oLYAhPylgDzRv6iFf5H5v9azQI4eLo6bSQwm++j0UpH4t8m+at7eGuzNsadYY0M9SoUwuJxQZiwtImYJJtGJD92QtV9m+yny4+RocXchgZDj3e9vx06ZqXaeF3U3o49YUX5ACerVV12yOxGZsuuxfevaQa9Mk4xEOwGkhva5I+8vfo8MRxm7ymelExn25zpsMlmj6GjBio3z1q/FGYdyXrcGoVNrvAgozs+0yW2jYtDVo7DNu8J2mur/C/gmi+xA6rkuEJQIQ3hWuWYVe7DUzdii5MG9/9AdwI14b3uyezh1EJ8tza5MScDQijTvD9sGxarruKS59VuJapqrJSU5E87CnlU6gQx7qXJVGvpTXZOw7ZzsdszSDQ3Jc9uNBSdtBQ2i7egEyTE+RQWsdtje/H0s3ZYyIw8qrQ1kIUDQKk7jl8Uvwf+zn/36JBgZMVIIO0hmDFnyB9wBGd7lk= | ||
|
||
jdk: | ||
- openjdk8 | ||
- oraclejdk8 | ||
|
||
script: | ||
- ./gradlew check assembleJavadoc | ||
|
||
after_success: | ||
- ./gradlew coveralls | ||
|
||
addons: | ||
hosts: | ||
- travis-issue-5227-workaround | ||
hostname: travis-issue-5227-workaround | ||
deploy: | ||
provider: pages | ||
skip-cleanup: true | ||
github-token: $PAGES_DEPLOY_KEY | ||
on: | ||
branch: master | ||
local-dir: 'build/javadoc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> | ||
<html lang="en"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>Javadoc index - java-webauthn-server ${version}</title> | ||
<link rel="stylesheet" type="text/css" href="webauthn-server-core/stylesheet.css" title="Style"> | ||
</head> | ||
<body style="padding: 1em 2em"> | ||
<h2>Modules:</h2> | ||
<ul> | ||
<li><a href="webauthn-server-attestation/">webauthn-server-attestation</a></li> | ||
<li><a href="webauthn-server-core/">webauthn-server-core</a></li> | ||
</ul> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Custom Lombok build that also copies javadoc from field definitions to builder | ||
setters. | ||
|
||
Build using the `lombok` submodule. Building Lombok requires JDK 10, therefore | ||
it is not integrated directly into the Gradle build. It is built as such: | ||
|
||
``` | ||
$ git submodule update --init | ||
$ cd lombok | ||
$ ant setupJavaOracle8TestEnvironment | ||
$ rm ../lombok.config | ||
$ ant test | ||
$ ant dist | ||
$ cp dist/lombok-1.18.5.jar ../lib/com/yubico/lombok/1.18.5-custom/lombok-1.18.5-custom.jar | ||
$ cd .. | ||
$ git checkout -- lombok.config | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.