From a1180a5fd6f1a01fd769f095ea71bf29fe9d0fe6 Mon Sep 17 00:00:00 2001 From: Alex Burt Date: Tue, 7 Apr 2020 10:25:41 +0100 Subject: [PATCH 1/3] Hotfix 2.7.1: Fix date not being formatted to UTC correctly in thirdparty extension content --- README.md | 4 ++-- pom.xml | 2 +- yoti-sdk-api/pom.xml | 2 +- .../extension/ThirdPartyAttributeContent.java | 1 + yoti-sdk-impl/pom.xml | 2 +- .../client/spi/remote/call/YotiConstants.java | 2 +- ...irdPartyAttributeExtensionBuilderTest.java | 22 +++++++++++++++++++ yoti-sdk-parent/pom.xml | 2 +- yoti-sdk-sandbox/pom.xml | 2 +- yoti-sdk-spring-boot-auto-config/README.md | 4 ++-- yoti-sdk-spring-boot-auto-config/pom.xml | 2 +- yoti-sdk-spring-boot-example/README.md | 6 ++--- yoti-sdk-spring-boot-example/pom.xml | 2 +- yoti-sdk-spring-security/README.md | 4 ++-- yoti-sdk-spring-security/pom.xml | 2 +- 15 files changed, 41 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 03f03731b..7090d6f79 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,13 @@ If you are using Maven, you need to add the following dependency: com.yoti yoti-sdk-impl - 2.7.0 + 2.7.1-SNAPSHOT ``` If you are using Gradle, here is the dependency to add: -`compile group: 'com.yoti', name: 'yoti-sdk-impl', version: '2.7.0'` +`compile group: 'com.yoti', name: 'yoti-sdk-impl', version: '2.7.1-SNAPSHOT'` You will find all classes packaged under `com.yoti.api` diff --git a/pom.xml b/pom.xml index b7457c80a..899602af1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.yoti yoti-sdk pom - 2.7.0 + 2.7.1-SNAPSHOT Yoti SDK Java SDK for simple integration with the Yoti platform https://github.com/getyoti/yoti-java-sdk diff --git a/yoti-sdk-api/pom.xml b/yoti-sdk-api/pom.xml index 871ec5bfd..1db1cd349 100644 --- a/yoti-sdk-api/pom.xml +++ b/yoti-sdk-api/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.0 + 2.7.1-SNAPSHOT ../yoti-sdk-parent diff --git a/yoti-sdk-api/src/main/java/com/yoti/api/client/shareurl/extension/ThirdPartyAttributeContent.java b/yoti-sdk-api/src/main/java/com/yoti/api/client/shareurl/extension/ThirdPartyAttributeContent.java index 196f30669..cb9948e7f 100644 --- a/yoti-sdk-api/src/main/java/com/yoti/api/client/shareurl/extension/ThirdPartyAttributeContent.java +++ b/yoti-sdk-api/src/main/java/com/yoti/api/client/shareurl/extension/ThirdPartyAttributeContent.java @@ -23,6 +23,7 @@ public ThirdPartyAttributeContent(Date expiryDate, List def @JsonProperty("expiry_date") public String getExpiryDate() { SimpleDateFormat rfcDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); + rfcDateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); return rfcDateFormat.format(expiryDate.getTime()); } diff --git a/yoti-sdk-impl/pom.xml b/yoti-sdk-impl/pom.xml index 5a379ebb0..d885afeef 100644 --- a/yoti-sdk-impl/pom.xml +++ b/yoti-sdk-impl/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.0 + 2.7.1-SNAPSHOT ../yoti-sdk-parent diff --git a/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java b/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java index 924ce5741..a225e3d5d 100644 --- a/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java +++ b/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java @@ -25,7 +25,7 @@ private YotiConstants() {} public static final String CONTENT_TYPE_JPEG = "image/jpeg"; public static final String JAVA = "Java"; - public static final String SDK_VERSION = JAVA + "-2.7.0"; + public static final String SDK_VERSION = JAVA + "-2.7.1-SNAPSHOT"; public static final String SIGNATURE_ALGORITHM = "SHA256withRSA"; public static final String ASYMMETRIC_CIPHER = "RSA/NONE/PKCS1Padding"; public static final String SYMMETRIC_CIPHER = "AES/CBC/PKCS7Padding"; diff --git a/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java b/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java index a32de95a3..3b594c1e6 100644 --- a/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java +++ b/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java @@ -80,6 +80,28 @@ public void shouldBuildThirdPartyAttributeExtensionWithGivenValues() { assertThat(definitions.get(0).getName(), is(SOME_DEFINITION)); } + @Test + public void shouldBuildThirdPartyAttributeExtensionWithCorrectDateValue() { + TimeZone.setDefault(TimeZone.getTimeZone("America/New_York")); + Date date = new Date(); + + Extension extension = new SimpleThirdPartyAttributeExtensionBuilder() + .withExpiryDate(date) + .withDefinition(SOME_DEFINITION) + .build(); + + SimpleDateFormat sdf = new SimpleDateFormat(YotiConstants.RFC3339_PATTERN_MILLIS); + sdf.setTimeZone(TimeZone.getTimeZone("UTC")); + String formattedTestDate = sdf.format(date); + + assertEquals(ExtensionConstants.THIRD_PARTY_ATTRIBUTE, extension.getType()); + assertEquals(formattedTestDate, extension.getContent().getExpiryDate()); + + List definitions = extension.getContent().getDefinitions(); + assertThat(definitions.size(), is(1)); + assertThat(definitions.get(0).getName(), is(SOME_DEFINITION)); + } + @Test public void shouldBuildThirdPartyAttributeExtensionWithMultipleDefinitions() { List theDefinitions = new ArrayList<>(); diff --git a/yoti-sdk-parent/pom.xml b/yoti-sdk-parent/pom.xml index 62bc1de33..53df1c500 100644 --- a/yoti-sdk-parent/pom.xml +++ b/yoti-sdk-parent/pom.xml @@ -5,7 +5,7 @@ com.yoti yoti-sdk-parent pom - 2.7.0 + 2.7.1-SNAPSHOT Yoti SDK Parent Pom Parent pom for the Java SDK projects https://github.com/getyoti/yoti-java-sdk diff --git a/yoti-sdk-sandbox/pom.xml b/yoti-sdk-sandbox/pom.xml index b395b00e3..4cda86219 100644 --- a/yoti-sdk-sandbox/pom.xml +++ b/yoti-sdk-sandbox/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.0 + 2.7.1-SNAPSHOT ../yoti-sdk-parent diff --git a/yoti-sdk-spring-boot-auto-config/README.md b/yoti-sdk-spring-boot-auto-config/README.md index 8562540b8..43cbde111 100644 --- a/yoti-sdk-spring-boot-auto-config/README.md +++ b/yoti-sdk-spring-boot-auto-config/README.md @@ -18,7 +18,7 @@ If you are using Maven, you need to add the following dependencies: com.yoti yoti-sdk-spring-boot-auto-config - 2.7.0 + 2.7.1-SNAPSHOT ``` @@ -26,7 +26,7 @@ If you are using Maven, you need to add the following dependencies: If you are using Gradle, here is the dependency to add: ``` -compile group: 'com.yoti', name: 'yoti-sdk-spring-boot-auto-config', version: '2.7.0' +compile group: 'com.yoti', name: 'yoti-sdk-spring-boot-auto-config', version: '2.7.1-SNAPSHOT' ``` diff --git a/yoti-sdk-spring-boot-auto-config/pom.xml b/yoti-sdk-spring-boot-auto-config/pom.xml index 29f9bd805..2cca0fdd1 100644 --- a/yoti-sdk-spring-boot-auto-config/pom.xml +++ b/yoti-sdk-spring-boot-auto-config/pom.xml @@ -12,7 +12,7 @@ com.yoti yoti-sdk-parent - 2.7.0 + 2.7.1-SNAPSHOT ../yoti-sdk-parent diff --git a/yoti-sdk-spring-boot-example/README.md b/yoti-sdk-spring-boot-example/README.md index 096133fc7..eef499bf1 100644 --- a/yoti-sdk-spring-boot-example/README.md +++ b/yoti-sdk-spring-boot-example/README.md @@ -16,7 +16,7 @@ Before you start, you'll need to create an Application in [Yoti Hub](https://hub com.yoti yoti-sdk-impl - 2.7.0 + 2.7.1-SNAPSHOT ``` @@ -29,8 +29,8 @@ Before you start, you'll need to create an Application in [Yoti Hub](https://hub 1. Run `mvn clean package` to build the project. ## Running -* You can run your server-app by executing `java -jar target/yoti-sdk-spring-boot-example-2.7.0.jar` - * If you are using Java 9, you can run the server-app as follows `java -jar target/yoti-sdk-spring-boot-example-2.7.0.jar --add-exports java.base/jdk.internal.ref=ALL-UNNAMED` +* You can run your server-app by executing `java -jar target/yoti-sdk-spring-boot-example-2.7.1-SNAPSHOT.jar` + * If you are using Java 9, you can run the server-app as follows `java -jar target/yoti-sdk-spring-boot-example-2.7.1-SNAPSHOT.jar --add-exports java.base/jdk.internal.ref=ALL-UNNAMED` * Navigate to `https://localhost:8443` * You can then initiate a login using Yoti. The Spring demo is listening for the response on `https://localhost:8443/login`. diff --git a/yoti-sdk-spring-boot-example/pom.xml b/yoti-sdk-spring-boot-example/pom.xml index 05393225d..9929cbb58 100644 --- a/yoti-sdk-spring-boot-example/pom.xml +++ b/yoti-sdk-spring-boot-example/pom.xml @@ -6,7 +6,7 @@ com.yoti yoti-sdk-spring-boot-example - 2.7.0 + 2.7.1-SNAPSHOT Yoti Spring Boot Example diff --git a/yoti-sdk-spring-security/README.md b/yoti-sdk-spring-security/README.md index 1d6172664..c5f077dbd 100644 --- a/yoti-sdk-spring-security/README.md +++ b/yoti-sdk-spring-security/README.md @@ -25,14 +25,14 @@ If you are using Maven, you need to add the following dependencies: com.yoti yoti-sdk-spring-security - 2.7.0 + 2.7.1-SNAPSHOT ``` If you are using Gradle, here is the dependency to add: ``` -compile group: 'com.yoti', name: 'yoti-sdk-spring-security', version: '2.7.0' +compile group: 'com.yoti', name: 'yoti-sdk-spring-security', version: '2.7.1-SNAPSHOT' ``` ### Provide a `YotiClient` instance diff --git a/yoti-sdk-spring-security/pom.xml b/yoti-sdk-spring-security/pom.xml index ae29c73a9..59e20ac62 100644 --- a/yoti-sdk-spring-security/pom.xml +++ b/yoti-sdk-spring-security/pom.xml @@ -12,7 +12,7 @@ com.yoti yoti-sdk-parent - 2.7.0 + 2.7.1-SNAPSHOT ../yoti-sdk-parent From 11c6a61eeab167417e7fb61573edf93e13a1bb32 Mon Sep 17 00:00:00 2001 From: Alex Burt Date: Tue, 7 Apr 2020 11:10:57 +0100 Subject: [PATCH 2/3] Hotfix 2.7.1: Add test for Date created with timestamp --- ...irdPartyAttributeExtensionBuilderTest.java | 51 +++++++++++-------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java b/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java index 3b594c1e6..10eb97556 100644 --- a/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java +++ b/yoti-sdk-impl/src/test/java/com/yoti/api/client/shareurl/extension/SimpleThirdPartyAttributeExtensionBuilderTest.java @@ -1,9 +1,10 @@ package com.yoti.api.client.shareurl.extension; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.yoti.api.client.AttributeDefinition; -import com.yoti.api.client.spi.remote.call.YotiConstants; -import org.junit.Test; +import static org.hamcrest.MatcherAssert.assertThat; +import static org.hamcrest.Matchers.containsString; +import static org.hamcrest.Matchers.is; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -11,11 +12,10 @@ import java.util.List; import java.util.TimeZone; -import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.containsString; -import static org.hamcrest.Matchers.is; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.fail; +import com.yoti.api.client.AttributeDefinition; +import com.yoti.api.client.spi.remote.call.YotiConstants; + +import org.junit.Test; public class SimpleThirdPartyAttributeExtensionBuilderTest { @@ -68,9 +68,7 @@ public void shouldBuildThirdPartyAttributeExtensionWithGivenValues() { .withDefinition(SOME_DEFINITION) .build(); - SimpleDateFormat sdf = new SimpleDateFormat(YotiConstants.RFC3339_PATTERN_MILLIS); - sdf.setTimeZone(TimeZone.getTimeZone("UTC")); - String formattedTestDate = sdf.format(SOME_DATE); + String formattedTestDate = formatDateToString(SOME_DATE); assertEquals(ExtensionConstants.THIRD_PARTY_ATTRIBUTE, extension.getType()); assertEquals(formattedTestDate, extension.getContent().getExpiryDate()); @@ -81,7 +79,7 @@ public void shouldBuildThirdPartyAttributeExtensionWithGivenValues() { } @Test - public void shouldBuildThirdPartyAttributeExtensionWithCorrectDateValue() { + public void shouldBuildThirdPartyAttributeExtensionWithCorrectlyFormattedDateString() { TimeZone.setDefault(TimeZone.getTimeZone("America/New_York")); Date date = new Date(); @@ -90,16 +88,23 @@ public void shouldBuildThirdPartyAttributeExtensionWithCorrectDateValue() { .withDefinition(SOME_DEFINITION) .build(); - SimpleDateFormat sdf = new SimpleDateFormat(YotiConstants.RFC3339_PATTERN_MILLIS); - sdf.setTimeZone(TimeZone.getTimeZone("UTC")); - String formattedTestDate = sdf.format(date); + String formattedTestDate = formatDateToString(date); - assertEquals(ExtensionConstants.THIRD_PARTY_ATTRIBUTE, extension.getType()); assertEquals(formattedTestDate, extension.getContent().getExpiryDate()); + } - List definitions = extension.getContent().getDefinitions(); - assertThat(definitions.size(), is(1)); - assertThat(definitions.get(0).getName(), is(SOME_DEFINITION)); + @Test + public void shouldWorkCorrectlyWithDateCreatedFromTimestamp() { + Date date = new Date(1586252260); + + Extension extension = new SimpleThirdPartyAttributeExtensionBuilder() + .withExpiryDate(date) + .withDefinition(SOME_DEFINITION) + .build(); + + String formattedTestDate = formatDateToString(date); + + assertEquals(formattedTestDate, extension.getContent().getExpiryDate()); } @Test @@ -141,4 +146,10 @@ public void shouldOverwriteSingularlyAddedDefinition() { assertThat(definitions.get(1).getName(), is("secondDefinition")); } + private String formatDateToString(Date date) { + SimpleDateFormat sdf = new SimpleDateFormat(YotiConstants.RFC3339_PATTERN_MILLIS); + sdf.setTimeZone(TimeZone.getTimeZone("UTC")); + return sdf.format(date); + } + } From a8bd03cb8fe220aad6d1ebb8dd9920c3757208dd Mon Sep 17 00:00:00 2001 From: Alex Burt Date: Tue, 7 Apr 2020 14:37:37 +0100 Subject: [PATCH 3/3] Hotfix 2.7.1: Set version number for release --- README.md | 4 ++-- pom.xml | 2 +- yoti-sdk-api/pom.xml | 2 +- yoti-sdk-impl/pom.xml | 2 +- .../com/yoti/api/client/spi/remote/call/YotiConstants.java | 2 +- yoti-sdk-parent/pom.xml | 2 +- yoti-sdk-sandbox/pom.xml | 2 +- yoti-sdk-spring-boot-auto-config/README.md | 4 ++-- yoti-sdk-spring-boot-auto-config/pom.xml | 2 +- yoti-sdk-spring-boot-example/README.md | 6 +++--- yoti-sdk-spring-boot-example/pom.xml | 2 +- yoti-sdk-spring-security/README.md | 4 ++-- yoti-sdk-spring-security/pom.xml | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 7090d6f79..6792f8f8f 100644 --- a/README.md +++ b/README.md @@ -104,13 +104,13 @@ If you are using Maven, you need to add the following dependency: com.yoti yoti-sdk-impl - 2.7.1-SNAPSHOT + 2.7.1 ``` If you are using Gradle, here is the dependency to add: -`compile group: 'com.yoti', name: 'yoti-sdk-impl', version: '2.7.1-SNAPSHOT'` +`compile group: 'com.yoti', name: 'yoti-sdk-impl', version: '2.7.1'` You will find all classes packaged under `com.yoti.api` diff --git a/pom.xml b/pom.xml index 899602af1..56984d93f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.yoti yoti-sdk pom - 2.7.1-SNAPSHOT + 2.7.1 Yoti SDK Java SDK for simple integration with the Yoti platform https://github.com/getyoti/yoti-java-sdk diff --git a/yoti-sdk-api/pom.xml b/yoti-sdk-api/pom.xml index 1db1cd349..70e8efe8c 100644 --- a/yoti-sdk-api/pom.xml +++ b/yoti-sdk-api/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.1-SNAPSHOT + 2.7.1 ../yoti-sdk-parent diff --git a/yoti-sdk-impl/pom.xml b/yoti-sdk-impl/pom.xml index d885afeef..0664f609b 100644 --- a/yoti-sdk-impl/pom.xml +++ b/yoti-sdk-impl/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.1-SNAPSHOT + 2.7.1 ../yoti-sdk-parent diff --git a/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java b/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java index a225e3d5d..23f185324 100644 --- a/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java +++ b/yoti-sdk-impl/src/main/java/com/yoti/api/client/spi/remote/call/YotiConstants.java @@ -25,7 +25,7 @@ private YotiConstants() {} public static final String CONTENT_TYPE_JPEG = "image/jpeg"; public static final String JAVA = "Java"; - public static final String SDK_VERSION = JAVA + "-2.7.1-SNAPSHOT"; + public static final String SDK_VERSION = JAVA + "-2.7.1"; public static final String SIGNATURE_ALGORITHM = "SHA256withRSA"; public static final String ASYMMETRIC_CIPHER = "RSA/NONE/PKCS1Padding"; public static final String SYMMETRIC_CIPHER = "AES/CBC/PKCS7Padding"; diff --git a/yoti-sdk-parent/pom.xml b/yoti-sdk-parent/pom.xml index 53df1c500..92482666b 100644 --- a/yoti-sdk-parent/pom.xml +++ b/yoti-sdk-parent/pom.xml @@ -5,7 +5,7 @@ com.yoti yoti-sdk-parent pom - 2.7.1-SNAPSHOT + 2.7.1 Yoti SDK Parent Pom Parent pom for the Java SDK projects https://github.com/getyoti/yoti-java-sdk diff --git a/yoti-sdk-sandbox/pom.xml b/yoti-sdk-sandbox/pom.xml index 4cda86219..78d606b09 100644 --- a/yoti-sdk-sandbox/pom.xml +++ b/yoti-sdk-sandbox/pom.xml @@ -11,7 +11,7 @@ com.yoti yoti-sdk-parent - 2.7.1-SNAPSHOT + 2.7.1 ../yoti-sdk-parent diff --git a/yoti-sdk-spring-boot-auto-config/README.md b/yoti-sdk-spring-boot-auto-config/README.md index 43cbde111..9fee28bf1 100644 --- a/yoti-sdk-spring-boot-auto-config/README.md +++ b/yoti-sdk-spring-boot-auto-config/README.md @@ -18,7 +18,7 @@ If you are using Maven, you need to add the following dependencies: com.yoti yoti-sdk-spring-boot-auto-config - 2.7.1-SNAPSHOT + 2.7.1 ``` @@ -26,7 +26,7 @@ If you are using Maven, you need to add the following dependencies: If you are using Gradle, here is the dependency to add: ``` -compile group: 'com.yoti', name: 'yoti-sdk-spring-boot-auto-config', version: '2.7.1-SNAPSHOT' +compile group: 'com.yoti', name: 'yoti-sdk-spring-boot-auto-config', version: '2.7.1' ``` diff --git a/yoti-sdk-spring-boot-auto-config/pom.xml b/yoti-sdk-spring-boot-auto-config/pom.xml index 2cca0fdd1..fab52cd08 100644 --- a/yoti-sdk-spring-boot-auto-config/pom.xml +++ b/yoti-sdk-spring-boot-auto-config/pom.xml @@ -12,7 +12,7 @@ com.yoti yoti-sdk-parent - 2.7.1-SNAPSHOT + 2.7.1 ../yoti-sdk-parent diff --git a/yoti-sdk-spring-boot-example/README.md b/yoti-sdk-spring-boot-example/README.md index eef499bf1..0587b2fbd 100644 --- a/yoti-sdk-spring-boot-example/README.md +++ b/yoti-sdk-spring-boot-example/README.md @@ -16,7 +16,7 @@ Before you start, you'll need to create an Application in [Yoti Hub](https://hub com.yoti yoti-sdk-impl - 2.7.1-SNAPSHOT + 2.7.1 ``` @@ -29,8 +29,8 @@ Before you start, you'll need to create an Application in [Yoti Hub](https://hub 1. Run `mvn clean package` to build the project. ## Running -* You can run your server-app by executing `java -jar target/yoti-sdk-spring-boot-example-2.7.1-SNAPSHOT.jar` - * If you are using Java 9, you can run the server-app as follows `java -jar target/yoti-sdk-spring-boot-example-2.7.1-SNAPSHOT.jar --add-exports java.base/jdk.internal.ref=ALL-UNNAMED` +* You can run your server-app by executing `java -jar target/yoti-sdk-spring-boot-example-2.7.1.jar` + * If you are using Java 9, you can run the server-app as follows `java -jar target/yoti-sdk-spring-boot-example-2.7.1.jar --add-exports java.base/jdk.internal.ref=ALL-UNNAMED` * Navigate to `https://localhost:8443` * You can then initiate a login using Yoti. The Spring demo is listening for the response on `https://localhost:8443/login`. diff --git a/yoti-sdk-spring-boot-example/pom.xml b/yoti-sdk-spring-boot-example/pom.xml index 9929cbb58..cd87bbca1 100644 --- a/yoti-sdk-spring-boot-example/pom.xml +++ b/yoti-sdk-spring-boot-example/pom.xml @@ -6,7 +6,7 @@ com.yoti yoti-sdk-spring-boot-example - 2.7.1-SNAPSHOT + 2.7.1 Yoti Spring Boot Example diff --git a/yoti-sdk-spring-security/README.md b/yoti-sdk-spring-security/README.md index c5f077dbd..7ea78796c 100644 --- a/yoti-sdk-spring-security/README.md +++ b/yoti-sdk-spring-security/README.md @@ -25,14 +25,14 @@ If you are using Maven, you need to add the following dependencies: com.yoti yoti-sdk-spring-security - 2.7.1-SNAPSHOT + 2.7.1 ``` If you are using Gradle, here is the dependency to add: ``` -compile group: 'com.yoti', name: 'yoti-sdk-spring-security', version: '2.7.1-SNAPSHOT' +compile group: 'com.yoti', name: 'yoti-sdk-spring-security', version: '2.7.1' ``` ### Provide a `YotiClient` instance diff --git a/yoti-sdk-spring-security/pom.xml b/yoti-sdk-spring-security/pom.xml index 59e20ac62..b59a94b66 100644 --- a/yoti-sdk-spring-security/pom.xml +++ b/yoti-sdk-spring-security/pom.xml @@ -12,7 +12,7 @@ com.yoti yoti-sdk-parent - 2.7.1-SNAPSHOT + 2.7.1 ../yoti-sdk-parent