|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 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()
|
Openfire 3.6.1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |