Package org.apache.wiki.auth
Interface AccountLifecycle.Notifier
- All Known Implementing Classes:
AccountLifecycleMailer
- Enclosing class:
- AccountLifecycle
public static interface AccountLifecycle.Notifier
Tells the owners of the accounts what happens to them.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccountDeleted(UserProfile profile) Tells the owner that the account has been deleted.voidaccountLocked(UserProfile profile, Date deleted) Tells the owner that the account has been locked.voidpasswordWillExpire(UserProfile profile, Date expires) Tells the owner that the password is going to expire.
-
Method Details
-
passwordWillExpire
Tells the owner that the password is going to expire. If this throws, the owner is told again at the next pass.- Parameters:
profile- the profile of the accountexpires- the day the password expires
-
accountLocked
Tells the owner that the account has been locked.- Parameters:
profile- the profile of the accountdeleted- the day the account is deleted, ornullif it is not
-
accountDeleted
Tells the owner that the account has been deleted.- Parameters:
profile- the profile of the account that has been deleted
-