public class

CrowdDeactivatedUserChecker

extends Object
implements DeactivatedUserChecker
java.lang.Object
   ↳ com.atlassian.confluence.security.CrowdDeactivatedUserChecker

This class is deprecated.
since 4.0 use CrowdDisabledUserManager or the DisabledUserManager interface instead.

Class Overview

Class that determines the whether a user is deactivated by checking the embedded crowd active flag

Summary

Public Constructors
CrowdDeactivatedUserChecker()
Public Methods
boolean isDeactivated(User user)
Determines deactivation status of a user.
boolean isDeactivated(String username)
Determines deactivation status of a user.
void setCrowdService(CrowdService crowdService)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.security.DeactivatedUserChecker

Public Constructors

public CrowdDeactivatedUserChecker ()

Public Methods

public boolean isDeactivated (User user)

Determines deactivation status of a user. Anonymous users cannot be deactivated.

Parameters
user The user object
Returns
  • true if the specified user is deactivated, false otherwise.

public boolean isDeactivated (String username)

Determines deactivation status of a user. Anonymous users cannot be deactivated. Returns true if the user does not exist.

Parameters
username The username of the user
Returns
  • true if the specified user is deactivated, false otherwise.

public void setCrowdService (CrowdService crowdService)