Announcement Announcement Module
No announcement yet.
Email Activation through Spring Security? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email Activation through Spring Security?

    Is there any way to send an activation email on user registration through Spring Security?

    Any other suggestions?

    I can send mail using Spring's MailSender and SimpleMailMessage.

    Do i have to implement the creating of activation url,saving the token, matching the token on click etc. ?

    Is there any better way?

  • #2
    Spring Security does not provide a means for registering users other than an API (UserDetailsManager) and a few implementations (InMemoryUserDetailsManager, JdbcUserDetailsManager, LdapUserDetailsManager) for adding basic users. Most of the time I find that this functionality needs to be extended since there are usually special needs.