My Oracle Support Banner

How to Unlock WebLogic Users Using Java Code (Doc ID 2400558.1)

Last updated on APRIL 12, 2023

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Goal

 

This sample Java code unlocks WebLogic (system) users programmatically.

When entering the wrong credentials 5 times, the weblogic user will be locked on the WebLogic Server.

In Weblogic console, when one tries to unlock the user, the user is unlocked from all running servers.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Requirements
 Configuring
 Instructions
 Sample Code
 Sample Output
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.