|
Openfire 3.9.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.lockout.DefaultLockOutProvider
public class DefaultLockOutProvider
The DefaultLockOutProvider works with the ofUserFlag table to maintain a list of disabled/locked out accounts., and as the name implies, is the default LockOutProvider implementation.
Constructor Summary | |
---|---|
DefaultLockOutProvider()
Constructs a new DefaultLockOutProvider |
Method Summary | |
---|---|
LockOutFlag |
getDisabledStatus(String username)
Default provider retrieves disabled status from ofUserFlag table. |
boolean |
isDelayedStartSupported()
Default provider allows delayed start to disabled status. |
boolean |
isReadOnly()
Default provider allows editing of disabled status. |
boolean |
isTimeoutSupported()
Default provider allows timeout of disabled status. |
void |
setDisabledStatus(LockOutFlag flag)
Default provider deletes existing flag, if it exists, and adds new described flag in ofUserFlag table. |
boolean |
shouldNotBeCached()
Default provider should be cached. |
void |
unsetDisabledStatus(String username)
Default provider deletes existing flag from ofUserFlag table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLockOutProvider()
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(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.9.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |