public class ClearspaceLockOutProvider extends Object implements LockOutProvider
| Modifier and Type | Field and Description |
|---|---|
protected static String |
USER_URL_PREFIX |
| Constructor and Description |
|---|
ClearspaceLockOutProvider()
Generate a ClearspaceLockOutProvider instance.
|
| Modifier and Type | Method and Description |
|---|---|
LockOutFlag |
getDisabledStatus(String username)
The ClearspaceLockOutProvider will retrieve lockout information from Clearspace's user properties.
|
boolean |
isDelayedStartSupported()
Clearspace only supports a strict "are you disabled or not".
|
boolean |
isReadOnly()
The ClearspaceLockOutProvider will set lockouts in Clearspace itself.
|
boolean |
isTimeoutSupported()
Clearspace only supports a strict "are you disabled or not".
|
void |
setDisabledStatus(LockOutFlag flag)
The ClearspaceLockOutProvider will set lockouts in Clearspace itself.
|
boolean |
shouldNotBeCached()
Clearspace needs to always be queried for disabled status.
|
void |
unsetDisabledStatus(String username)
The ClearspaceLockOutProvider will set lockouts in Clearspace itself.
|
protected static final String USER_URL_PREFIX
public ClearspaceLockOutProvider()
public LockOutFlag getDisabledStatus(String username)
getDisabledStatus in interface LockOutProviderusername - Username of account to request status of.LockOutProvider.getDisabledStatus(String)public void setDisabledStatus(LockOutFlag flag)
setDisabledStatus in interface LockOutProviderflag - A LockOutFlag instance to describe the disabled status of a user.LockOutProvider.setDisabledStatus(org.jivesoftware.openfire.lockout.LockOutFlag)public void unsetDisabledStatus(String username)
unsetDisabledStatus in interface LockOutProviderusername - User to enable.LockOutProvider.unsetDisabledStatus(String)public boolean isReadOnly()
isReadOnly in interface LockOutProviderLockOutProvider.isReadOnly()public boolean isDelayedStartSupported()
isDelayedStartSupported in interface LockOutProviderLockOutProvider.isDelayedStartSupported()public boolean isTimeoutSupported()
isTimeoutSupported in interface LockOutProviderLockOutProvider.isTimeoutSupported()public boolean shouldNotBeCached()
shouldNotBeCached in interface LockOutProviderLockOutProvider.shouldNotBeCached()Copyright © 2003-2008 Jive Software.