Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-8073

User Restriction Filters: mapping class for roles to groups does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 16.0.4, Meridian-2015.1.1
    • Fix Version/s: 17.1.0, Meridian-2016.1.0
    • Component/s: Web UI - ACLs
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      AuthRoleToOnmsGroupMapFilterEnabler class maps grantedAuthorities ROLE to OpenNMS Group.

      Does not work anymore....

      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authFilterEnabler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.opennms.web.springframework.security.AuthRoleToOnmsGroupMapFilterEnabler.setContextService(org.opennms.web.api.SecurityContextService); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.opennms.web.api.SecurityContextService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
      Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.opennms.web.springframework.security.AuthRoleToOnmsGroupMapFilterEnabler.setContextService(org.opennms.web.api.SecurityContextService); nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.opennms.web.api.SecurityContextService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}

        Attachments

          Activity

            People

            • Assignee:
              rssntn67 Antonio Russo
              Reporter:
              rssntn67 Antonio Russo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: