-
Dec 9th, 2008, 02:54 AM
#1
Storing additional information of users
Hi all, i'm new of spring-security and i would like know
if is there an how-to in order to storing additional information of users (like e-mail, city, country etc.).
Best regards
-
Dec 9th, 2008, 03:45 AM
#2
Read spring security reference.
UserDetails / UserDetailsService / JdbcDaoImpl / DaoAuthenticationProvider / GrantedAuthority
-
Dec 9th, 2008, 06:53 AM
#3
Tanks for quick reply, but i don't understand how are the exacts steps;
can u post me these steps?
-
Dec 9th, 2008, 04:30 PM
#4
We do this, and basically we just have our User object implement UserDetails. Then we have written a custom UserDetailsService to grab our user out of the database and populate the grantedAuthorities and continue on the chain. The standard AuthenticationMananger will compare the passwords and authenticate the user placing it into session when it is done. Works very slick and only one method to overwrite.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules