Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9796

Update Registry Spring Security Configuration to Avoid Warnings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16.0
    • NiFi Registry
    • None

    Description

      NiFi Registry relies on Spring Security to implement authentication and authorization. Recent versions of Spring Security added a warning message indicating a deprecated use of pattern-based path configuration.  The NiFi Registry Spring Security configuration should be updated to avoid the following warning:

      WARN [main] o.s.s.c.a.web.builders.WebSecurity You are asking Spring Security to ignore Ant [pattern='/access/token/identity-provider']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h