Md Faiz Akram
http://faizakram.com/
use sql query for retriving roles of the requested URL. Generally we use intercept tag in xml along with url and roles attributes. we can avoid this tag and we can retrive those information form db.
you also found custom UserDetailsService implementaion for getting authentication.
Steps
- import db.sql file into to your db.
- import thisp project into your fav editor (eclipse).
- specify you db properties in Constants.properties file.
- run the porject.
Database having following tables
- User
- Roles
- action
- User_roles
- roles_actions