@Portable public class GroupManagerSettingsImpl extends SettingsImpl implements GroupManagerSettings
Default settings for a group manager.
Constructor and Description |
---|
GroupManagerSettingsImpl(Map<Capability,CapabilityStatus> capabilities,
boolean allowEmpty) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowEmpty()
Specify if the provider allows groups with no users assigned.
|
Collection<String> |
getConstrainedGroups()
Return constrained groups for management
|
void |
setConstrainedGroups(Collection<String> constrainedGroups)
Sets constrained groups for management (usually the registered roles).
|
getCapabilities
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCapabilities
public GroupManagerSettingsImpl(Map<Capability,CapabilityStatus> capabilities, boolean allowEmpty)
public boolean allowEmpty()
GroupManagerSettings
Specify if the provider allows groups with no users assigned.
Usually realm based on property files, such as the default ones for Wildfly or EAP, does not allow empty users as the username is the key for the property entry.
allowEmpty
in interface GroupManagerSettings
public Collection<String> getConstrainedGroups()
GroupManagerSettings
getConstrainedGroups
in interface GroupManagerSettings
public void setConstrainedGroups(Collection<String> constrainedGroups)
GroupManagerSettings
setConstrainedGroups
in interface GroupManagerSettings
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.