From 3644cee99619322ff88ef4e4095cf8181be5944b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marten=20Prie=C3=9F?= Date: Sun, 16 Sep 2018 07:04:10 +0200 Subject: [PATCH] upgraded dependencies --- commons-auth-core/pom.xml | 19 +++++++++++++------ .../CustomAuthoritiesProviderTest.java | 2 +- .../commons/security/JwtTokenServiceTest.java | 2 +- .../src/test/resources/application-test.yml | 2 +- pom.xml | 7 +++---- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/commons-auth-core/pom.xml b/commons-auth-core/pom.xml index ef4915c1..94dedf93 100755 --- a/commons-auth-core/pom.xml +++ b/commons-auth-core/pom.xml @@ -101,11 +101,6 @@ SOFTWARE. org.springframework.boot spring-boot-starter-mail - - io.pebbletemplates - pebble - ${pebble.version} - @@ -137,8 +132,20 @@ SOFTWARE. io.jsonwebtoken - jjwt + jjwt-api + ${jjwt.version} + + + io.jsonwebtoken + jjwt-impl + ${jjwt.version} + runtime + + + io.jsonwebtoken + jjwt-jackson ${jjwt.version} + runtime diff --git a/commons-auth-core/src/test/java/io/rocketbase/commons/security/CustomAuthoritiesProviderTest.java b/commons-auth-core/src/test/java/io/rocketbase/commons/security/CustomAuthoritiesProviderTest.java index 748da5dc..525406af 100644 --- a/commons-auth-core/src/test/java/io/rocketbase/commons/security/CustomAuthoritiesProviderTest.java +++ b/commons-auth-core/src/test/java/io/rocketbase/commons/security/CustomAuthoritiesProviderTest.java @@ -41,7 +41,7 @@ public void getExtraSecurityContextAuthorities() { List authorities = Arrays.asList(new SimpleGrantedAuthority("ROLE_USER")); JwtProperties config = new JwtProperties(); - config.setSecret("YSZESjg5aiZ0ZHszcSc1R0BEOiY5PFgp"); + config.setSecret("NHU3eCFBJUQqRy1LYU5kUmdVa1hwMnM1djh5L0I/RShIK01iUWVTaFZtWXEzdDZ3OXokQyZGKUpATmNSZlVqVw=="); JwtTokenService service = new JwtTokenService(config); service.customAuthoritiesProvider = myOwnImplementation(); // when diff --git a/commons-auth-core/src/test/java/io/rocketbase/commons/security/JwtTokenServiceTest.java b/commons-auth-core/src/test/java/io/rocketbase/commons/security/JwtTokenServiceTest.java index e40bfda7..4643cc27 100644 --- a/commons-auth-core/src/test/java/io/rocketbase/commons/security/JwtTokenServiceTest.java +++ b/commons-auth-core/src/test/java/io/rocketbase/commons/security/JwtTokenServiceTest.java @@ -23,7 +23,7 @@ public class JwtTokenServiceTest { private JwtTokenService getInstance() { JwtProperties config = new JwtProperties(); - config.setSecret("YSZESjg5aiZ0ZHszcSc1R0BEOiY5PFgp"); + config.setSecret("NHU3eCFBJUQqRy1LYU5kUmdVa1hwMnM1djh5L0I/RShIK01iUWVTaFZtWXEzdDZ3OXokQyZGKUpATmNSZlVqVw=="); JwtTokenService service = new JwtTokenService(config); service.customAuthoritiesProvider = new EmptyCustomAuthoritiesProvider(); return service; diff --git a/commons-auth-core/src/test/resources/application-test.yml b/commons-auth-core/src/test/resources/application-test.yml index bce0032b..e9950139 100644 --- a/commons-auth-core/src/test/resources/application-test.yml +++ b/commons-auth-core/src/test/resources/application-test.yml @@ -31,5 +31,5 @@ logging: # auth configuration auth: jwt: - secret: 'UnU7PkNfKEAuJ045NDgkcls5OFR0MmteWmMpLlkze0U=' + secret: 'P0UoSCtNYlBlU2hWbVlxM3Q2dzl6JEMmRilKQE5jUmZUalduWnI0dTd4IUElRCpHLUthUGRTZ1ZrWHAyczV2OA==' user-cache-time: 0 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 0801178a..6c4271f5 100755 --- a/pom.xml +++ b/pom.xml @@ -87,15 +87,14 @@ SOFTWARE. UTF-8 1.8 1.8 - 2.0.4.RELEASE + 2.0.5.RELEASE false 1.3.0 - 0.9.0 + 0.10.5 1.2.0.Final - 2.6.0 26.0-jre 1.0 - 1.0.2 + 1.1.0