modified secret access
This commit is contained in:
parent
32359123dd
commit
70da43e4a6
2
pom.xml
2
pom.xml
|
@ -28,7 +28,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.distribution</groupId>
|
<groupId>org.gcube.distribution</groupId>
|
||||||
<artifactId>gcube-bom</artifactId>
|
<artifactId>gcube-bom</artifactId>
|
||||||
<version>3.0.0-SNAPSHOT</version>
|
<version>3.0.1-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class AuthorizationInterceptor implements Interceptor {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleRequest(Request request, Call call) {
|
public void handleRequest(Request request, Call call) {
|
||||||
Secret secret = SecretManagerProvider.instance.get();
|
Secret secret = SecretManagerProvider.get();
|
||||||
|
|
||||||
if (secret!=null) {
|
if (secret!=null) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue