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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -