|
Openfire 3.8.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.openfire.clearspace.ClearspaceLockOutProvider
public class ClearspaceLockOutProvider
The ClearspaceLockOutProvider uses the UserService web service inside of Clearspace to retrieve user properties from Clearspace. One of these properties refers to whether the user is disabled or not. In the future we may implement this in a different manner that will require less overall communication with Clearspace.
| Field Summary | |
|---|---|
protected static String |
USER_URL_PREFIX
|
| Constructor Summary | |
|---|---|
ClearspaceLockOutProvider()
Generate a ClearspaceLockOutProvider instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String USER_URL_PREFIX
| Constructor Detail |
|---|
public ClearspaceLockOutProvider()
| Method Detail |
|---|
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()
|
Openfire 3.8.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||