Answer the question
In order to leave comments, you need to log in
How to split resources based on user's group in Glassfish?
The problem is the following:
two users are created in the server admin panel, belonging to different users & managers groups.
It is necessary to redirect the user to a specific page depending on his group.
For authorization, a bean is used with the login() method, which returns a string with the page name. How to determine the user's group at this stage so that the page name depends on the group? The request.isUserInRole method returns the entered username.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question