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 LockOutProvider
username
- Username of account to request status of.LockOutProvider.getDisabledStatus(String)
public void setDisabledStatus(LockOutFlag flag)
setDisabledStatus
in interface LockOutProvider
flag
- 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 LockOutProvider
username
- User to enable.LockOutProvider.unsetDisabledStatus(String)
public boolean isReadOnly()
isReadOnly
in interface LockOutProvider
LockOutProvider.isReadOnly()
public boolean isDelayedStartSupported()
isDelayedStartSupported
in interface LockOutProvider
LockOutProvider.isDelayedStartSupported()
public boolean isTimeoutSupported()
isTimeoutSupported
in interface LockOutProvider
LockOutProvider.isTimeoutSupported()
public boolean shouldNotBeCached()
shouldNotBeCached
in interface LockOutProvider
LockOutProvider.shouldNotBeCached()
Copyright © 2003-2008 Jive Software.