0
I need to provide a number of features in a REST service, but security is dynamic. That is, an administrator can change permissions according to his will.
In my research, I only found authentication forms where resource permissions are pre-established via configuration file/roles, that is, a user must belong to a group (role) and this group has access to a list of resources. This does not work for me as more groups can be created at any time with different permissions.
One way I imagined is to send the user/password to each request and define if the user has permission at the time of execution of this method, but I believe there is a more sophisticated way to resolve this.
Could you give more details of the architecture? the client is what? Mobile, web and/ or etc... which technologies used?
– Mateus
@Mateus os clients podem ser app mobile ou sites via javascript. As for architecture, the project is starting now (the REST part) so I’m open to architectural opinions. At first I’m only using Jersey in a Tomcat8 container.
– NilsonUehara