BEA Systems, Inc.


weblogic.management.security.authentication
Class UserLockoutManagerImpl

java.lang.Object
  |
  +--weblogic.management.security.BaseMBeanImpl
        |
        +--weblogic.management.security.authentication.UserLockoutManagerImpl

public class UserLockoutManagerImpl
extends BaseMBeanImpl

The base class of all authentication provider mbean implementations that wish to manage user lockout through the weblogic console.

Author:
Copyright (c) 2002 by BEA. All Rights Reserved.

Constructor Summary
UserLockoutManagerImpl(javax.management.modelmbean.RequiredModelMBean base)
          Class constructor specifying the corresponding required model mbean.
 
Method Summary
 void clearLockout(java.lang.String userName)
          Unlocked a user's account
 long getInvalidLoginAttemptsTotalCount()
          Return the current invalid user login attempt total
 long getInvalidLoginUsersHighCount()
          Return the maximum high water count of user lockouts
 long getLastLoginFailure(java.lang.String userName)
          Returns the timestamp of the user account's last login failure
 long getLockedUsersCurrentCount()
          Return the current locked user count
 long getLoginAttemptsWhileLockedTotalCount()
          Return the current number of login attempts that occurred during user lockout
 long getLoginFailureCount(java.lang.String userName)
          Return the current login failure count for this user account
 long getUnlockedUsersTotalCount()
          Return the number of users accounts that have been unlocked
 long getUserLockoutTotalCount()
          Return the current user lockout total
 boolean isLockedOut(java.lang.String userName)
          Test to determine is a user account is locked
 
Methods inherited from class weblogic.management.security.BaseMBeanImpl
getCommoUtils, getProxy, getRequiredModelMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserLockoutManagerImpl

public UserLockoutManagerImpl(javax.management.modelmbean.RequiredModelMBean base)
                       throws javax.management.MBeanException
Class constructor specifying the corresponding required model mbean.

Parameters:
base - required model mbean for this mbean implementation
Method Detail

getUserLockoutTotalCount

public long getUserLockoutTotalCount()
                              throws javax.management.MBeanException
Return the current user lockout total

getInvalidLoginAttemptsTotalCount

public long getInvalidLoginAttemptsTotalCount()
                                       throws javax.management.MBeanException
Return the current invalid user login attempt total

getLoginAttemptsWhileLockedTotalCount

public long getLoginAttemptsWhileLockedTotalCount()
                                           throws javax.management.MBeanException
Return the current number of login attempts that occurred during user lockout

getInvalidLoginUsersHighCount

public long getInvalidLoginUsersHighCount()
                                   throws javax.management.MBeanException
Return the maximum high water count of user lockouts

getUnlockedUsersTotalCount

public long getUnlockedUsersTotalCount()
                                throws javax.management.MBeanException
Return the number of users accounts that have been unlocked

getLockedUsersCurrentCount

public long getLockedUsersCurrentCount()
                                throws javax.management.MBeanException
Return the current locked user count

isLockedOut

public boolean isLockedOut(java.lang.String userName)
                    throws javax.management.MBeanException
Test to determine is a user account is locked

Parameters:
userName - The user account to check

clearLockout

public void clearLockout(java.lang.String userName)
                  throws javax.management.MBeanException
Unlocked a user's account

Parameters:
userName - The user to unlock

getLastLoginFailure

public long getLastLoginFailure(java.lang.String userName)
                         throws javax.management.MBeanException
Returns the timestamp of the user account's last login failure

Parameters:
userName - The user account

getLoginFailureCount

public long getLoginFailureCount(java.lang.String userName)
                          throws javax.management.MBeanException
Return the current login failure count for this user account

Parameters:
userName - The user account

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs70

Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
WebLogic Server 7.0 API Reference