public class DefaultLockOutProvider extends Object implements LockOutProvider
| Constructor and Description |
|---|
DefaultLockOutProvider()
Constructs a new DefaultLockOutProvider
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public DefaultLockOutProvider()
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()Copyright © 2003-2008 Jive Software.