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
|
||||
|
||||
See [Releases](https://code-repo.d4science.org/gCubeSystem/gcat/releases).
|
||||
See [CHANGELOG.md](CHANGELOG.md).
|
||||
|
||||
## Authors
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue