Class CheckLoginRolesServiceImpl

java.lang.Object
ch.tocco.nice2.netui.actions.impl.auth.CheckLoginRolesServiceImpl
All Implemented Interfaces:
CheckLoginRolesService

public class CheckLoginRolesServiceImpl extends Object implements CheckLoginRolesService
  • Constructor Details

  • Method Details

    • userHasRequiredRoles

      public Boolean 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 interface CheckLoginRolesService