@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).
|
getCapabilitiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapabilitiespublic GroupManagerSettingsImpl(Map<Capability,CapabilityStatus> capabilities, boolean allowEmpty)
public boolean allowEmpty()
GroupManagerSettingsSpecify 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 GroupManagerSettingspublic Collection<String> getConstrainedGroups()
GroupManagerSettingsgetConstrainedGroups in interface GroupManagerSettingspublic void setConstrainedGroups(Collection<String> constrainedGroups)
GroupManagerSettingssetConstrainedGroups in interface GroupManagerSettingsCopyright © 2012–2018 JBoss by Red Hat. All rights reserved.