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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 16.0.4, Meridian-2015.1.1
    • 17.1.0, Meridian-2016.1.0
    • Web UI - ACLs
    • Security Level: Default (Default Security Scheme)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: