Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Proposal: Account activation via email

Status

Implemented in trunk

Target Release

4.0

Original Authors

Sedat Çiftçi, Dave Johnson

Abstract

This is a proposal to support Account activation via email in Roller. If activation is enabled, then user accounts must be activated via e-mail before they can be used.

Requirements

  • Support e-mail activation of new user accounts
  • E-mail message must be I18N/localizable
  • E-mail activation must be optional

Issues

No major issues to be considered.

Design

List and describe new manager methods, Struts actions, JSP pages, macros, etc.

...

  • New runtime properties with these defaults:
        • user.account.activation.enabled=

      ...

        • false
        • user.account.activation.

      ...

        • mail.from=

      ...

      • New field in UserData object and corresponding rolleruser table:
        Code Block
        
            activationcode varchar(48)
        
      • New method un UserManager to retrieve user via activation code:
        Code Block
        
            

      ...

      • public 

      ...

      • UserData getUserByActivationCode(String activationCode) throws RollerException;
        
      • Code in UserNewAction.java to generate & store activation code and send email

      Comments

      Please comment on mailing list.