[ 
https://issues.apache.org/jira/browse/JSPWIKI-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140433#comment-18140433
 ] 

ASF subversion and git services commented on JSPWIKI-1254:
----------------------------------------------------------

Commit b78d4263b54d38ac45f351af08a75b989c3a550a in jspwiki's branch 
refs/heads/master from Arturo Bernal
[ https://gitbox.apache.org/repos/asf?p=jspwiki.git;h=b78d4263b ]

JSPWIKI-1254 Warn, lock and delete accounts as their passwords get old

On top of the expiry of the password, three more optional stages, counted in 
days
from the last change of the password:

- jspwiki.credentials.expiry.warnDays: the owner is told by e-mail that the
  password is going to expire. It needs the expiry to be set, and to be before 
it.
- jspwiki.credentials.lock.days: the account is locked, and the owner told. It
  stays locked until an administrator unlocks it.
- jspwiki.credentials.delete.days: the account is deleted, and the owner told.

A stage that is not after the ones before it is logged and left off. 
AccountLifecycle
goes through the accounts once, and AccountLifecycleThread does it when the wiki
has started and then every jspwiki.credentials.lifecycle.hours (24). A password
without a date gets it at the first pass, which is when its clock starts. The
reminder is sent once per password, and again if it could not be sent. The 
accounts
have to have a wiki name to be seen, as that is how the user database lists 
them.

AccountLifecycleMailer writes the e-mails with the new notification.credentials
texts of the templates bundle, in English in all the languages until they are
translated, and does not write to a profile without an address.

The user administration page shows if a profile is locked, and UserBean unlocks 
it
when it is given a new password: without one the profile would be locked again 
at
the next pass, as its password would still be old.


> Support password expiration, password change reminders and account automatic 
> lockout and eventual deletion
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-1254
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1254
>             Project: JSPWiki
>          Issue Type: New Feature
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>            Priority: Major
>              Labels: pull-request-available
>
> applies to all wiki based authenticators (xml and jdbc database providers)
> all opt in features of course.
> after V days, dispatch an email that the password will expire soon, 
> after X days, require a password change at login
> after Y days, lock an account from logins entirely, dispatching an email 
> along with a warning of account deletion. to unlock, administrative 
> intervention is required
> after Z days, delete an account permanently, dispatching an email
> after a period of W days without login and a new login is detected, dispatch 
> an email to the account owner to confirm login
> and we'll probably need an admin tool for some of this



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to