diff --git a/src/packaging/resource/cassandra-reaper-cassandra-ssl.yaml b/src/packaging/resource/cassandra-reaper-cassandra-ssl.yaml index 09896d422..71c04a6fb 100644 --- a/src/packaging/resource/cassandra-reaper-cassandra-ssl.yaml +++ b/src/packaging/resource/cassandra-reaper-cassandra-ssl.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -134,9 +134,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/packaging/resource/cassandra-reaper-cassandra.yaml b/src/packaging/resource/cassandra-reaper-cassandra.yaml index f39b76307..365d83082 100644 --- a/src/packaging/resource/cassandra-reaper-cassandra.yaml +++ b/src/packaging/resource/cassandra-reaper-cassandra.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -128,9 +128,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/packaging/resource/cassandra-reaper-h2.yaml b/src/packaging/resource/cassandra-reaper-h2.yaml index aea1c8ce4..bc0dfd514 100644 --- a/src/packaging/resource/cassandra-reaper-h2.yaml +++ b/src/packaging/resource/cassandra-reaper-h2.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -112,9 +112,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/packaging/resource/cassandra-reaper-memory.yaml b/src/packaging/resource/cassandra-reaper-memory.yaml index b2f0d8497..addc78633 100644 --- a/src/packaging/resource/cassandra-reaper-memory.yaml +++ b/src/packaging/resource/cassandra-reaper-memory.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -107,9 +107,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/packaging/resource/cassandra-reaper-postgres.yaml b/src/packaging/resource/cassandra-reaper-postgres.yaml index 907210e95..5638f29fa 100644 --- a/src/packaging/resource/cassandra-reaper-postgres.yaml +++ b/src/packaging/resource/cassandra-reaper-postgres.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -112,9 +112,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/packaging/resource/cassandra-reaper.yaml b/src/packaging/resource/cassandra-reaper.yaml index afaf35efd..c8d715f92 100644 --- a/src/packaging/resource/cassandra-reaper.yaml +++ b/src/packaging/resource/cassandra-reaper.yaml @@ -1,5 +1,5 @@ # Copyright 2015-2017 Spotify AB -# Copyright 2016-2018 The Last Pickle Ltd +# Copyright 2016-2019 The Last Pickle Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -107,9 +107,8 @@ autoScheduling: # - type: log # logger: metrics -# Uncomment the following block to enable authentication - -#accessControl: -# sessionTimeout: PT10M -# shiro: -# iniConfigs: ["file:/path/to/shiro.ini"] +# Authentication is enabled by default +accessControl: + sessionTimeout: PT10M + shiro: + iniConfigs: ["classpath:shiro.ini"] diff --git a/src/server/pom.xml b/src/server/pom.xml index 4bd902472..6efb5c72e 100755 --- a/src/server/pom.xml +++ b/src/server/pom.xml @@ -29,7 +29,7 @@ jar - 1.1.8 + 1.3.8 src/main/docker ${maven.build.timestamp} yyyy-MM-dd HH:mm:ss @@ -181,6 +181,11 @@ dropwizard-shiro 0.2.0 + + io.jsonwebtoken + jjwt + 0.9.1 +