Saturday, 16 August 2014

Unlock user in weblogic

User accounts can become locked as a result of an excessive number of failed login attempts (default 5)

To unlock a user account:
Method A: using Admin console
In the left pane click the name of the domain.
Select Security > Unlock User.
Enter the user name of the user whose account you want to unlock.
Click Save
Method B: using weblogic.Admin utility
The following command unlocks a user account:
java weblogic.Admin -adminurl localhost:8001 -username weblogic
-password weblogic invoke -mbean Security:Name=myrealmUserLockoutManager
-method clearLockout my-user
If the command succeeds, it prints OK to standard out.

Checking locked/unlocked users using admin console:
Select Admin server -> Expand the Monitoring-->Security tab for the server.
This page allows you to monitor user lockout management statistics for this server.
e.g.
Total Invalid Logins:                         1
User Lockout Total Count:                0
Total Login Attempts while Locked:   0
Invalid Logins High:                          1
Locked Users:                                 0
Total Users Unlocked:                      0

No comments:

Post a Comment