Results 1 to 4 of 4

Thread: Storing additional information of users

  1. #1

    Default 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

  2. #2
    Join Date
    Jun 2007
    Location
    Minsk, Belarus
    Posts
    217

    Default

    Read spring security reference.

    UserDetails / UserDetailsService / JdbcDaoImpl / DaoAuthenticationProvider / GrantedAuthority

  3. #3

    Default

    Tanks for quick reply, but i don't understand how are the exacts steps;
    can u post me these steps?

  4. #4
    Join Date
    Sep 2006
    Location
    Omaha, NE
    Posts
    60

    Default

    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
  •