|
Openfire 3.5.0.rc1 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 jiveUserFlag 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 jiveUserFlag 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 jiveUserFlag table. |
boolean |
shouldNotBeCached()
Default provider should be cached. |
void |
unsetDisabledStatus(String username)
Default provider deletes existing flag from jiveUserFlag 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) throws NotLockedOutException
getDisabledStatus
in interface LockOutProvider
username
- Username of account to request status of.
NotLockedOutException
- if user account specified is not currently locked out (disabled).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.5.0.rc1 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |