Skip to content

Commit

Permalink
Merge pull request #646 from /issues/645-update-version
Browse files Browse the repository at this point in the history
Fix #645: Update version to 1.2.0
  • Loading branch information
romanstrobl authored Dec 21, 2021
2 parents a8c0b1b + e3ec845 commit 138e6eb
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 28 deletions.
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<groupId>io.getlime.security</groupId>
<artifactId>powerauth-server-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<packaging>pom</packaging>

<parent>
Expand Down Expand Up @@ -86,8 +86,8 @@
<maven.compiler.target>1.8</maven.compiler.target>
<maven-jar-plugin.version>3.2.0</maven-jar-plugin.version>
<maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version>
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
<maven-war-plugin.version>3.3.1</maven-war-plugin.version>
<maven-javadoc-plugin.version>3.3.1</maven-javadoc-plugin.version>
<maven-war-plugin.version>3.3.2</maven-war-plugin.version>

<!-- Spring Dependencies -->
<spring-cloud-vault.version>3.1.0</spring-cloud-vault.version>
Expand All @@ -107,17 +107,17 @@
<saaj-impl.version>1.5.3</saaj-impl.version>

<!-- Documentation Dependencies -->
<springdoc-openapi.version>1.6.0</springdoc-openapi.version>
<springdoc-openapi.version>1.6.1</springdoc-openapi.version>

<!-- Scheduled Job Dependencies -->
<schedlock.version>4.30.0</schedlock.version>

<!-- Test Dependencies -->
<junit-jupiter-engine.version>5.7.2</junit-jupiter-engine.version>
<junit-jupiter-engine.version>5.8.2</junit-jupiter-engine.version>
<h2.version>1.4.197</h2.version> <!-- Tests fail in version 1.4.200, upgrade reverted -->

<!-- Other Dependencies -->
<axis2.version>1.7.9</axis2.version>
<jackson.version>2.13.0</jackson.version>
<commons-text.version>1.9</commons-text.version>

</properties>
Expand Down
6 changes: 3 additions & 3 deletions powerauth-client-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>powerauth-client-model</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>powerauth-client-model</name>
<description>PowerAuth Server Client Model</description>

<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-server-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -42,7 +42,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.3</version>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
Expand Down
6 changes: 3 additions & 3 deletions powerauth-java-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
<name>powerauth-java-server</name>
<description>PowerAuth Server</description>
<artifactId>powerauth-java-server</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<packaging>war</packaging>

<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-server-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -112,7 +112,7 @@
<dependency>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-client-model</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>io.getlime.security</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,22 @@ public UpdateCallbackUrlResponse updateCallbackUrl(UpdateCallbackUrlRequest requ
// Retain existing passwords in case new password is not set
HttpAuthenticationPrivate authRequest = request.getAuthentication();
HttpAuthenticationPrivate authExisting = entity.getAuthentication();
if (authRequest.getCertificate() != null && authExisting.getCertificate() != null) {
if (authExisting.getCertificate().getKeyStorePassword() != null && authRequest.getCertificate().getKeyStorePassword() == null) {
authRequest.getCertificate().setKeyStorePassword(authExisting.getCertificate().getKeyStorePassword());
}
if (authExisting.getCertificate().getKeyPassword() != null && authRequest.getCertificate().getKeyPassword() == null) {
authRequest.getCertificate().setKeyPassword(authExisting.getCertificate().getKeyPassword());
}
if (authExisting.getCertificate().getTrustStorePassword() != null && authRequest.getCertificate().getTrustStorePassword() == null) {
authRequest.getCertificate().setTrustStorePassword(authExisting.getCertificate().getTrustStorePassword());
if (authRequest != null) {
if (authRequest.getCertificate() != null && authExisting.getCertificate() != null) {
if (authExisting.getCertificate().getKeyStorePassword() != null && authRequest.getCertificate().getKeyStorePassword() == null) {
authRequest.getCertificate().setKeyStorePassword(authExisting.getCertificate().getKeyStorePassword());
}
if (authExisting.getCertificate().getKeyPassword() != null && authRequest.getCertificate().getKeyPassword() == null) {
authRequest.getCertificate().setKeyPassword(authExisting.getCertificate().getKeyPassword());
}
if (authExisting.getCertificate().getTrustStorePassword() != null && authRequest.getCertificate().getTrustStorePassword() == null) {
authRequest.getCertificate().setTrustStorePassword(authExisting.getCertificate().getTrustStorePassword());
}
}
}
if (authRequest.getHttpBasic() != null && authExisting.getHttpBasic() != null) {
if (authExisting.getHttpBasic().getPassword() != null && authRequest.getHttpBasic().getPassword() == null) {
authRequest.getHttpBasic().setPassword(authExisting.getHttpBasic().getPassword());
if (authRequest.getHttpBasic() != null && authExisting.getHttpBasic() != null) {
if (authExisting.getHttpBasic().getPassword() != null && authRequest.getHttpBasic().getPassword() == null) {
authRequest.getHttpBasic().setPassword(authExisting.getHttpBasic().getPassword());
}
}
}
entity.setAuthentication(authRequest);
Expand Down
6 changes: 3 additions & 3 deletions powerauth-rest-client-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
<modelVersion>4.0.0</modelVersion>

<artifactId>powerauth-rest-client-spring</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<name>powerauth-rest-client-spring</name>
<description>PowerAuth Server REST Service Client</description>

<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-server-parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -38,7 +38,7 @@
<dependency>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-client-model</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>io.getlime.core</groupId>
Expand Down

0 comments on commit 138e6eb

Please sign in to comment.