|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Lists and manages lockouts on user accounts.
Method Summary | |
void |
clearLockout(java.lang.String userName)
Unlocks a user account. |
long |
getInvalidLoginAttemptsTotalCount()
Returns the number of invalid logins attempted since this server has been started and lockouts have been enabled. |
long |
getInvalidLoginUsersHighCount()
Returns the highest number of users with concurrent unexpired or uncleared invalid login attempts. |
long |
getLastLoginFailure(java.lang.String userName)
Returns a string that indicates the time of the last invalid login for this user. |
long |
getLockedUsersCurrentCount()
Returns the number of users that are currently locked out of this server. |
long |
getLockoutCacheSize()
The number of invalid login records that the server places in a cache. |
long |
getLockoutDuration()
The number of minutes that a user account is locked out. |
long |
getLockoutGCThreshold()
The maximum number of invalid login records that the server keeps in memory. |
long |
getLockoutResetDuration()
The number of minutes within which consecutive invalid login attempts cause the user account to be locked out. |
long |
getLockoutThreshold()
The maximum number of consecutive invalid login attempts before account is locked out. |
long |
getLoginAttemptsWhileLockedTotalCount()
Returns the number of invalid logins attempted since this server has been started and lockouts have been enabled. |
long |
getLoginFailureCount(java.lang.String userName)
Returns the current count of login failures for a specific user. |
RealmMBean |
getRealm()
The name of the realm that is currently using this MBean. |
long |
getUnlockedUsersTotalCount()
Returns the number times users have been unlocked since this server has been started. |
long |
getUserLockoutTotalCount()
Returns the number of user lockouts that have occured since this server has been started. |
boolean |
isLockedOut(java.lang.String userName)
Indicates whether a user is locked out. |
boolean |
isLockoutEnabled()
Indicates whether the server locks out users when there are invalid login attempts. |
void |
setLockoutCacheSize(long newValue)
The number of invalid login records that the server places in a cache. |
void |
setLockoutDuration(long newValue)
The number of minutes that a user account is locked out. |
void |
setLockoutEnabled(boolean newValue)
Indicates whether the server locks out users when there are invalid login attempts. |
void |
setLockoutGCThreshold(long newValue)
The maximum number of invalid login records that the server keeps in memory. |
void |
setLockoutResetDuration(long newValue)
The number of minutes within which consecutive invalid login attempts cause the user account to be locked out. |
void |
setLockoutThreshold(long newValue)
The maximum number of consecutive invalid login attempts before account is locked out. |
void |
setRealm(RealmMBean newValue)
The name of the realm that is currently using this MBean. |
Methods inherited from interface weblogic.management.commo.StandardInterface |
wls_getAttributeTag,
wls_getConstructorTag,
wls_getDisplayName,
wls_getInterfaceClassName,
wls_getMBeanTag,
wls_getNotificationTag,
wls_getObjectName,
wls_getOperationTag,
wls_instanceOf |
Method Detail |
public long getUserLockoutTotalCount()
public long getInvalidLoginAttemptsTotalCount()
public long getLoginAttemptsWhileLockedTotalCount()
public long getInvalidLoginUsersHighCount()
LockoutResetDuration
. This count is useful in determining whether the LockoutCacheSize
needs to be modified.
public long getUnlockedUsersTotalCount()
public long getLockedUsersCurrentCount()
public RealmMBean getRealm()
public void setRealm(RealmMBean newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute Realmpublic boolean isLockoutEnabled()
true
value for this attribute causes the server to consider the other attributes of this MBean. A false
value causes the server to ignore the other attributes of this MBean.
public void setLockoutEnabled(boolean newValue) throws javax.management.InvalidAttributeValueException
true
value for this attribute causes the server to consider the other attributes of this MBean. A false
value causes the server to ignore the other attributes of this MBean.
newValue
- - new value for attribute LockoutEnabledpublic long getLockoutThreshold()
LockoutThreshold
value, the user is locked out. For example, with the default setting of 1
, the user is locked out on the second consecutive invalid login. With a setting of 2
, the user is locked out on the third consecutive invalid login.
public void setLockoutThreshold(long newValue) throws javax.management.InvalidAttributeValueException
LockoutThreshold
value, the user is locked out. For example, with the default setting of 1
, the user is locked out on the second consecutive invalid login. With a setting of 2
, the user is locked out on the third consecutive invalid login.
newValue
- - new value for attribute LockoutThresholdpublic long getLockoutDuration()
public void setLockoutDuration(long newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute LockoutDurationpublic long getLockoutResetDuration()
public void setLockoutResetDuration(long newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute LockoutResetDurationpublic long getLockoutCacheSize()
public void setLockoutCacheSize(long newValue) throws javax.management.InvalidAttributeValueException
newValue
- - new value for attribute LockoutCacheSizepublic long getLockoutGCThreshold()
The lower the number for this attribute, the more often the server uses its resources to collect garbage.
public void setLockoutGCThreshold(long newValue) throws javax.management.InvalidAttributeValueException
The lower the number for this attribute, the more often the server uses its resources to collect garbage.
newValue
- - new value for attribute LockoutGCThresholdpublic boolean isLockedOut(java.lang.String userName)
userName
- - A user name. If the user does not exist, this method returns false
.public void clearLockout(java.lang.String userName)
userName
- - A user name. If the user does not exist, this method returns false
.public long getLastLoginFailure(java.lang.String userName)
userName
- - A user name. If the user does not exist, this method returns false
.public long getLoginFailureCount(java.lang.String userName)
0
after a user successfully logs in or the user account is unlocked.
userName
- - A user name. If the user does not exist, this method returns false
.
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |