Class AclImpliedRolesContributor

java.lang.Object
ch.tocco.nice2.security.impl.AclImpliedRolesContributor
All Implemented Interfaces:
ImpliedRoleContributor

@Component public class AclImpliedRolesContributor extends Object implements ImpliedRoleContributor
  • Constructor Details

    • AclImpliedRolesContributor

      public AclImpliedRolesContributor(org.slf4j.Logger log, ThreadHandlerManager threadHandlerManager)
  • Method Details

    • initializeService

      @PostConstruct public void initializeService()
    • hasMappingFor

      public boolean hasMappingFor(Role role)
      Description copied from interface: ImpliedRoleContributor
      Returns true if the specified role is known to imply roles.
      Specified by:
      hasMappingFor in interface ImpliedRoleContributor
    • getImpliedRolesFor

      public Collection<Role> getImpliedRolesFor(Role role)
      Description copied from interface: ImpliedRoleContributor
      Return a collection of roles that are implied by the specified role. Any role in the collection may contain another set of implied roles. Returns an empty collection if there is no implied role.
      Specified by:
      getImpliedRolesFor in interface ImpliedRoleContributor
    • setPolicyProviders

      @Autowired public void setPolicyProviders(List<PolicyProvider> providers)