java - How to design user Authorisation -



java - How to design user Authorisation -

i have database based user authorization roles. user have services can access , in each service user can see , actions. this, user==> services ==> roles. best design pattern can utilize in scenario. design roles , services stored in user context. every time user determines can see. if roles stored in service service can decide user authorized to. can tell improve approach , why?.

java design-patterns

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -