|
Openfire 3.7.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 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(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.7.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||