Class PasswordExpirationMailNotificationManagerImpl
java.lang.Object
com.atlassian.crowd.manager.mailer.notification.PasswordExpirationMailNotificationManagerImpl
- All Implemented Interfaces:
PasswordExpirationMailNotificationManager
@Transactional
public class PasswordExpirationMailNotificationManagerImpl
extends Object
implements PasswordExpirationMailNotificationManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.embedded.api.Directory>protected static final int -
Constructor Summary
ConstructorsConstructorDescriptionPasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, com.atlassian.crowd.dao.user.InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer) PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, com.atlassian.crowd.dao.user.InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer, int notificationBatchSize) -
Method Summary
Modifier and TypeMethodDescriptiongetRemindPeriodsForDirectory(com.atlassian.crowd.embedded.api.Directory directory) voidNotify users that their password will soon expire.
-
Field Details
-
ACTIVE_INTERNAL_DIRECTORIES_QUERY
protected static final com.atlassian.crowd.search.query.entity.EntityQuery<com.atlassian.crowd.embedded.api.Directory> ACTIVE_INTERNAL_DIRECTORIES_QUERY -
DEFAULT_BATCH_SIZE
protected static final int DEFAULT_BATCH_SIZE- See Also:
-
-
Constructor Details
-
PasswordExpirationMailNotificationManagerImpl
public PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, com.atlassian.crowd.dao.user.InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer) -
PasswordExpirationMailNotificationManagerImpl
public PasswordExpirationMailNotificationManagerImpl(DirectoryManager directoryManager, Clock clock, com.atlassian.crowd.dao.user.InternalUserDao userDao, PasswordExpirationNotificationMailer passwordExpirationNotificationMailer, int notificationBatchSize)
-
-
Method Details
-
notifyUsers
public void notifyUsers()Description copied from interface:PasswordExpirationMailNotificationManagerNotify users that their password will soon expire.- Specified by:
notifyUsersin interfacePasswordExpirationMailNotificationManager
-
getRemindPeriodsForDirectory
public List<Integer> getRemindPeriodsForDirectory(com.atlassian.crowd.embedded.api.Directory directory) - Specified by:
getRemindPeriodsForDirectoryin interfacePasswordExpirationMailNotificationManager- Parameters:
directory- directory object- Returns:
- remind periods, which are used to notify users about password expiration
-