Skip to content

Commit

Permalink
Fix #1689: Backport Fix #1687: Error java.net.MalformedURLException: …
Browse files Browse the repository at this point in the history
…unknown protocol: classpath (#1690)
  • Loading branch information
romanstrobl authored Aug 8, 2024
1 parent f3ab158 commit 09060ab
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 28 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
<packaging>pom</packaging>

<parent>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-data-adapter-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-data-adapter-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-mtoken-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-nextstep-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-nextstep-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-nextstep-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-nextstep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-tpp-engine-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-tpp-engine-client</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-tpp-engine-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-tpp-engine-model</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-tpp-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-approval-sca/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-webflow-authentication-approval-sca</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-consent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-webflow-authentication-consent</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-form/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-webflow-authentication-form</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-init/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-webflow-authentication-init</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-login-sca/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<name>powerauth-webflow-authentication-login-sca</name>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-mtoken/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-webflow-authentication-mtoken</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-operation-review/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-webflow-authentication-operation-review</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication-sms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-webflow-authentication-sms</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-authentication/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<groupId>io.getlime.security</groupId>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-i18n/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<artifactId>powerauth-webflow-parent</artifactId>
<groupId>io.getlime.security</groupId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<groupId>io.getlime.security</groupId>
Expand Down
4 changes: 2 additions & 2 deletions powerauth-webflow/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion powerauth-webflow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerauth-webflow",
"version": "1.4.0-SNAPSHOT",
"version": "1.4.4-SNAPSHOT",
"description": "Federated Authentication and Authorization Server for Web",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion powerauth-webflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>io.getlime.security</groupId>
<artifactId>powerauth-webflow-parent</artifactId>
<version>1.4.3</version>
<version>1.4.4-SNAPSHOT</version>
</parent>

<artifactId>powerauth-webflow</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
import org.springframework.core.io.UrlResource;
import org.springframework.http.converter.HttpMessageConverter;
import org.springframework.http.converter.json.Jackson2ObjectMapperFactoryBean;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
Expand Down Expand Up @@ -148,7 +147,7 @@ public Resource languageSettingSource() throws MalformedURLException {
Resource resource = resourceLoader.getResource(configuration.getResourcesLocation() + "lang.json");
if (!resource.exists()) {
logger.info("The lang.json file was not found in {}, using default location", configuration.getResourcesLocation());
resource = new UrlResource("classpath:/static/resources/lang.json");
resource = resourceLoader.getResource("classpath:/static/resources/lang.json");
}
return resource;
}
Expand Down

0 comments on commit 09060ab

Please sign in to comment.