N
N
Nastya19202020-06-04 08:28:15
Java
Nastya1920, 2020-06-04 08:28:15

How to validate and update jwt token in one filter?

Is it possible to do this with a single filter (using spring security conf):
Before accessing the controller, the filter not only pulls the jwt from the request and validates it, but also updates it and pushes it back into this request before pushing it back to the chain?
If so, how? Some sort of request.setHeader(newJwt) exists?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question