Fixed Request Filter

This commit is contained in:
Luca Frosini 2023-01-13 15:15:16 +01:00
parent 0ba536843d
commit 5c2041df67
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ This service allows any client to publish on the gCube Catalogue.
## Change log
See [Releases](https://code-repo.d4science.org/gCubeSystem/gcat/releases).
See [CHANGELOG.md](CHANGELOG.md).
## Authors

View File

@ -32,7 +32,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext) throws IOException {
logger.trace("PreMatching RequestFilter");
SecretManagerProvider.instance.reset();
SecretManagerProvider.instance.remove();
SecretManager secretManager = new SecretManager();
String token = AccessTokenProvider.instance.get();
@ -55,7 +55,7 @@ public class RequestFilter implements ContainerRequestFilter, ContainerResponseF
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
throws IOException {
logger.trace("ResponseFilter");
SecretManagerProvider.instance.reset();
SecretManagerProvider.instance.remove();
}
}