Class CheckLoginRolesServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.auth.CheckLoginRolesServiceImpl
- All Implemented Interfaces:
CheckLoginRolesService
-
Constructor Summary
ConstructorDescriptionCheckLoginRolesServiceImpl
(Context context, SecurityManager securityManager, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionReturns `true` if the logged in user at least has one role of the type `manager`, `guest` or `fix`.
-
Constructor Details
-
CheckLoginRolesServiceImpl
public CheckLoginRolesServiceImpl(Context context, SecurityManager securityManager, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
userHasRequiredRoles
Description copied from interface:CheckLoginRolesService
Returns `true` if the logged in user at least has one role of the type `manager`, `guest` or `fix`. If the principal has no roles or only roles of the type `content`, `false` will be returned.- Specified by:
userHasRequiredRoles
in interfaceCheckLoginRolesService
-