Dec 2nd, 2008, 08:07 AM
authorization from database
I'm using spring security and I have the information to authentication and authorization coming from the database. The authentication services I've already done. But the question is about the authorization part, how can I authorize a user to access an operation or method based on a permission information that I have set for him/her in the database for that operation? Is there an exemple or sample for this situation?
thank you in advance.
Dec 3rd, 2008, 02:31 AM
Read spring security reference.
UserDetails / UserDetailsService / JdbcDaoImpl / DaoAuthenticationProvider / GrantedAuthority
Look also at http://forum.springframework.org/showthread.php?t=64096
Tags for this Thread