fixing code

This commit is contained in:
Luca Frosini 2022-02-28 17:07:57 +01:00
parent b46715dc05
commit baab05f015
1 changed files with 3 additions and 3 deletions

View File

@ -58,9 +58,9 @@ public class RequestContextRetriever extends RequestHandler {
retrievedUser = splitAuth[0];
}
}
SecretManagerProvider.instance.reset();
SecretManager secretManager = SecretManagerProvider.instance.get();
SecretManager secretManager = new SecretManager();
SecretManagerProvider.instance.set(secretManager);
if (accessToken!=null) {
JWTSecret jwtSecret = new JWTSecret(accessToken);