My Oracle Support Banner

WLST Fails to Set User in a Group When Using "setGroupMemberOf" (Doc ID 2650569.1)

Last updated on JUNE 11, 2021

Applies to:

Oracle WebLogic Server - Version 12.2.1.3.0 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

When creating a new user <user-name> and assign it to a new group <group-name> previously created, the setGroupMemberOf fails to assign the <user-name> to the <group-name>, and Administrators group is assigned by default.

To reproduce, run the following in WLST:

  1. start WLST
  2. run below commands to create domain with user <user-name> and assign group <group-name> to <user-name>:

But, as can be seen, group Administrators was assigned and group <group-name> is not assigned.

Another way to check is from '<DOMAIN_HOME>/init-info/security.xml' file:

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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