com.atlassian.confluence.security
Class LegacyDeactivatedUserChecker
java.lang.Object
com.atlassian.confluence.security.LegacyDeactivatedUserChecker
- All Implemented Interfaces:
- DeactivatedUserChecker
public class LegacyDeactivatedUserChecker
- extends Object
- implements DeactivatedUserChecker
Class that determines the whether a user is deactivated by checking a legacy flag in the database UserPreferencesKeys.PROPERTY_USER_DEACTIVATED
Method Summary |
boolean |
isDeactivated(com.atlassian.user.User user)
Determines deactivation status of a user. |
void |
setPropertySetFactory(com.atlassian.user.properties.PropertySetFactory propertySetFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyDeactivatedUserChecker
public LegacyDeactivatedUserChecker()
isDeactivated
public boolean isDeactivated(com.atlassian.user.User user)
- Determines deactivation status of a user. Anonymous users cannot be deactivated.
- Specified by:
isDeactivated
in interface DeactivatedUserChecker
- Returns:
- true if the specified user is deactivated, false otherwise.
setPropertySetFactory
public void setPropertySetFactory(com.atlassian.user.properties.PropertySetFactory propertySetFactory)
Copyright © 2003-2011 Atlassian. All Rights Reserved.