Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit b211a72

Browse files
srinivaskrishnanyaminikb
authored andcommitted
Fix #21683, The value of 'Group List' in 'Realm User' cannot be deleted by GUI (#21762)
1 parent 0691cd5 commit b211a72

File tree

1 file changed

+2
-2
lines changed
  • main/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers

1 file changed

+2
-2
lines changed

main/appserver/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/SecurityHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
33
*
4-
* Copyright (c) 2009-2012 Oracle and/or its affiliates. All rights reserved.
4+
* Copyright (c) 2009-2017 Oracle and/or its affiliates. All rights reserved.
55
*
66
* The contents of this file are subject to the terms of either the GNU
77
* General Public License Version 2 only ("GPL") or the Common Development
@@ -390,7 +390,7 @@ public static void saveUser(HandlerContext handlerCtx) {
390390
if (grouplist != null && grouplist.contains(","))
391391
grouplist = grouplist.replace(',', ':');
392392
List<String> grpList = new ArrayList();
393-
if (grouplist != null && !grouplist.equals(""))
393+
if (grouplist != null)
394394
grpList.add(grouplist);
395395
attrs.put("groups", grpList);
396396
RestUtil.restRequest(endpoint, attrs, "POST", null, true, true );

0 commit comments

Comments
 (0)