Class GroupManagerSettingsImpl
- java.lang.Object
-
- org.uberfire.ext.security.management.impl.SettingsImpl
-
- org.uberfire.ext.security.management.impl.GroupManagerSettingsImpl
-
- All Implemented Interfaces:
GroupManagerSettings,Settings
@Portable public class GroupManagerSettingsImpl extends SettingsImpl implements GroupManagerSettings
Default settings for a group manager.
- Since:
- 0.8.0
-
-
Constructor Summary
Constructors Constructor Description GroupManagerSettingsImpl(Map<Capability,CapabilityStatus> capabilities, boolean allowEmpty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowEmpty()Specify if the provider allows groups with no users assigned.Collection<String>getConstrainedGroups()Return constrained groups for managementvoidsetConstrainedGroups(Collection<String> constrainedGroups)Sets constrained groups for management (usually the registered roles).-
Methods inherited from class org.uberfire.ext.security.management.impl.SettingsImpl
getCapabilities
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.uberfire.ext.security.management.api.Settings
getCapabilities
-
-
-
-
Constructor Detail
-
GroupManagerSettingsImpl
public GroupManagerSettingsImpl(Map<Capability,CapabilityStatus> capabilities, boolean allowEmpty)
-
-
Method Detail
-
allowEmpty
public boolean allowEmpty()
Description copied from interface: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.
- Specified by:
allowEmptyin interfaceGroupManagerSettings- Returns:
- Allows groups with any user assigned.
-
getConstrainedGroups
public Collection<String> getConstrainedGroups()
Description copied from interface:GroupManagerSettingsReturn constrained groups for management- Specified by:
getConstrainedGroupsin interfaceGroupManagerSettings
-
setConstrainedGroups
public void setConstrainedGroups(Collection<String> constrainedGroups)
Description copied from interface:GroupManagerSettingsSets constrained groups for management (usually the registered roles).- Specified by:
setConstrainedGroupsin interfaceGroupManagerSettings
-
-