Proposal: Email Registration
Status |
Patch under consideration |
Target Release |
4.0 |
Original Authors |
Sedat Çiftçi, Dave Johnson |
Abstract
This is a proposal to support E-mail Account Activation 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 properties
- user.account.activation.enabled=true
- user.account.activation.code.length=128
- user.account.activation.code.generation.retry=3
- user.account.activation.mail.from=activate@localhost
- Code in UserNewAction.java to send activation email
- New persistent POJO UserActivationData
- Code in UserManager implementations to store/retrieve new POJO
- New table: useractivate
{{{
create table useractivate (
id varchar(48) not null primary key,
username varchar(255) not null,
activationcode varchar(255) not null
);
}}}
See detailed attachment provided by Sedat.
Comments
Please comment on mailing list.