Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!

alex roman

Greenhorn
+ Follow
since Jan 12, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by alex roman

after user authentication and authorization, it receives a JWT-token. If the user needs to navigate to a different page, why else would I create filters for the servlet? It is convenient to use web service security filters, and at the endpoint where there is a redirect to the servlet, you can specify the security roles that you can use to move to the next resource.
5 days ago

Tim Moores wrote:I advise to refactor your server-side code so that you can call the web service directly.



What are you mean?

From the SO question I gather that the reason for the redirect is that you want to avoid properly setting up security for the web service - that does not seem like a good reason.



I have two filters on side the server for to check accsess to the  "rest-services"

In order not to create separate security filters for Servlets, I want to redirect all requests through the Web service, and if necessary, send a request to the servlet.
5 days ago
I asked about in forum, but did not get an answer.

The browser show that request have sent to the servlet, but еhe client does not receive a response, so there is no redirection to the specified page .

What are you to think about this question?

How is possible to solution this task ?
5 days ago