|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserLockoutManagerMBean
Lists and manages lockouts on user accounts.
In addition to being used as
a base class that provides functionality to security provider
MBeans, JMX applications can use this class directly as a type-safe
interface. When used as a type-safe interface, a JMX application
imports this class and accesses it through
weblogic.management.MBeanHome
. As of 9.0, the
MBeanHome
interface and all type-safe interfaces for
WebLogic Server MBeans are deprecated. Instead, JMX applications that
interact with WebLogic Server MBeans should use standard JMX design
patterns in which clients use the
javax.management.MBeanServerConnection
interface to
discover MBeans, attributes, and attribute types at runtime.
Method Summary | |
---|---|
void |
clearLockout(String userName)
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getInvalidLoginAttemptsTotalCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getInvalidLoginUsersHighCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getLastLoginFailure(String userName)
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getLockedUsersCurrentCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getLockoutCacheSize()
Returns the number of invalid login records that the server places in a cache. |
long |
getLockoutDuration()
Returns the number of minutes that a user account is locked out. |
long |
getLockoutGCThreshold()
Returns 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()
Returns the maximum number of consecutive invalid login attempts before account is locked out. |
long |
getLoginAttemptsWhileLockedTotalCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getLoginFailureCount(String userName)
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
String |
getName()
The name of this configuration. |
RealmMBean |
getRealm()
Returns the realm that contains this user lockout manager. |
long |
getUnlockedUsersTotalCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
long |
getUserLockoutTotalCount()
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
boolean |
isLockedOut(String userName)
Deprecated. 9.0.0.0 Replaced by runtime.UserLockoutManagerRuntimeMBean |
boolean |
isLockoutEnabled()
Returns whether the server locks out users when there are invalid login attempts. |
void |
setLockoutCacheSize(long lockoutCacheSize)
Sets the number of invalid login records that the server places in a cache. |
void |
setLockoutDuration(long lockoutDuration)
Sets the number of minutes that a user account is locked out. |
void |
setLockoutEnabled(boolean lockoutEnabled)
Sets whether the server locks out users when there are invalid login attempts. |
void |
setLockoutGCThreshold(long lockoutGCThreshold)
Sets 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 lockoutThreshold)
Sets the maximum number of consecutive invalid login attempts before account is locked out. |
Method Detail |
---|
long getUserLockoutTotalCount()
runtime.UserLockoutManagerRuntimeMBean
long getInvalidLoginAttemptsTotalCount()
runtime.UserLockoutManagerRuntimeMBean
long getLoginAttemptsWhileLockedTotalCount()
runtime.UserLockoutManagerRuntimeMBean
long getInvalidLoginUsersHighCount()
runtime.UserLockoutManagerRuntimeMBean
LockoutResetDuration
.
This count is useful in determining whether the LockoutCacheSize
needs to be modified.
long getUnlockedUsersTotalCount()
runtime.UserLockoutManagerRuntimeMBean
long getLockedUsersCurrentCount()
runtime.UserLockoutManagerRuntimeMBean
RealmMBean getRealm()
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."
void setLockoutEnabled(boolean lockoutEnabled) throws InvalidAttributeValueException
lockoutEnabled
- - the new lockout enabled value
InvalidAttributeValueException
UserLockoutManagerMBean.isLockoutEnabled()
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.
void setLockoutThreshold(long lockoutThreshold) throws InvalidAttributeValueException
lockoutThreshold
- - the new lockout threshold
InvalidAttributeValueException
UserLockoutManagerMBean.getLockoutThreshold()
long getLockoutDuration()
void setLockoutDuration(long lockoutDuration) throws InvalidAttributeValueException
lockoutDuration
- - the new lockout duration in minutes
InvalidAttributeValueException
UserLockoutManagerMBean.getLockoutDuration()
long getLockoutResetDuration()
void setLockoutResetDuration(long newValue) throws InvalidAttributeValueException
newValue
- - new value for attribute LockoutResetDuration
InvalidAttributeValueException
UserLockoutManagerMBean.getLockoutResetDuration()
long getLockoutCacheSize()
void setLockoutCacheSize(long lockoutCacheSize) throws InvalidAttributeValueException
lockoutCacheSize
- - the new lockout cache size
InvalidAttributeValueException
UserLockoutManagerMBean.getLockoutCacheSize()
long getLockoutGCThreshold()
The lower the threshold, the more often the server uses its resources to collect garbage.
void setLockoutGCThreshold(long lockoutGCThreshold) throws InvalidAttributeValueException
lockoutGCThreshold
- - the new lockout garbage collection threshold
InvalidAttributeValueException
UserLockoutManagerMBean.getLockoutGCThreshold()
boolean isLockedOut(String userName)
runtime.UserLockoutManagerRuntimeMBean
userName
- - A user name. If the user does not exist, this method returns false
.void clearLockout(String userName)
runtime.UserLockoutManagerRuntimeMBean
userName
- - A user name. If the user does not exist, this method returns false
.long getLastLoginFailure(String userName)
runtime.UserLockoutManagerRuntimeMBean
userName
- - A user name. If the user does not exist, this method returns false
.long getLoginFailureCount(String userName)
runtime.UserLockoutManagerRuntimeMBean
userName
- - A user name. If the user does not exist, this method returns false
.String getName()
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |