Interface RestrictedUsersComponent
- All Known Implementing Classes:
DefaultRestrictedUsersComponent
@ExperimentalApi
public interface RestrictedUsersComponent
Component for operating on the defined restricted users.
- Since:
- 9.0.0
-
Method Summary
Modifier and TypeMethodDescriptionExtracts the restricted groups defined in Safeguards configuration.boolean
Checks if the passed user should be restricted.
-
Method Details
-
isUserRestricted
Checks if the passed user should be restricted.- Parameters:
user
- application user to be checked. If null user passed, false is returned.- Returns:
- true if user belongs should be restricted, otherwise false.
-
getConfiguredRestrictedGroups
Extracts the restricted groups defined in Safeguards configuration.- Returns:
- set of restricted groups
-