91 total views, 5 views today

weblogic jmx API Example: How to create user, Add Administrator Group, Update password and delete user in Security Realms

 

This section, I have explained a Java class using weblogic JMX API that does the following jobs in Weblogic Integrated LDAP

1. Add a User in Weblogic

2. Add Administrator Group to the user to make the user as Admin

3. Reset the user password

4. Delete a user.

 

Note: This Java class requires wljmxclient.jar which present under MW_HOME\wlserver\server\lib directory

 

1.I have a WebLogic server running on my local. Below I showed the list of users in the security realm

 

110317_0320_1 weblogic jmx API Example: How to create user, Add Administrator Group, Update password and delete user in WebLogic Security Realms

 

2. Below is the code

 

 

3.Once the code ran, the WebLogic security realms look like below. The user ‘dummyuser’ got removed and user ‘wlsadmin’ got created as Administrator

 

110317_0320_2 weblogic jmx API Example: How to create user, Add Administrator Group, Update password and delete user in WebLogic Security Realms

 

 

 

govindan weblogic jmx API Example: How to create user, Add Administrator Group, Update password and delete user in WebLogic Security Realms
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan weblogic jmx API Example: How to create user, Add Administrator Group, Update password and delete user in WebLogic Security Realms
Connect me

Latest posts by Govind

By | 2017-11-02T22:48:47+00:00 November 2nd, 2017|Categories: WebLogic|Tags: , , |0 Comments
Like us on Facebook.
Connect!