Fixed Request Filter
This commit is contained in:
parent
0ba536843d
commit
5c2041df67
|
@ -13,7 +13,7 @@ This service allows any client to publish on the gCube Catalogue.
|
||||||
|
|
||||||
## Change log
|
## Change log
|
||||||
|
|
||||||
See [Releases](https://code-repo.d4science.org/gCubeSystem/gcat/releases).
|
See [CHANGELOG.md](CHANGELOG.md).
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
|
||||||
public void filter(ContainerRequestContext requestContext) throws IOException {
|
public void filter(ContainerRequestContext requestContext) throws IOException {
|
||||||
logger.trace("PreMatching RequestFilter");
|
logger.trace("PreMatching RequestFilter");
|
||||||
|
|
||||||
SecretManagerProvider.instance.reset();
|
SecretManagerProvider.instance.remove();
|
||||||
SecretManager secretManager = new SecretManager();
|
SecretManager secretManager = new SecretManager();
|
||||||
|
|
||||||
String token = AccessTokenProvider.instance.get();
|
String token = AccessTokenProvider.instance.get();
|
||||||
|
@ -55,7 +55,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
|
||||||
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
|
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
logger.trace("ResponseFilter");
|
logger.trace("ResponseFilter");
|
||||||
SecretManagerProvider.instance.reset();
|
SecretManagerProvider.instance.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue