MCP authentication fails with IndexOutOfBoundsException in WsGrouperOauthAuthentication

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor
    • 7.0.1
    • Affects Version/s: None
    • Component/s: None
    • None

      extractUrlStrings() parses the URL expecting a version segment like /grouper-ws/servicesRest/v1_3_000/.... For MCP paths (/grouper-ws/mcp), after skipping the first 2 segments the list is empty, and urlStrings.get(0) throws IndexOutOfBoundsException.

      Changes:

      • WsGrouperOauthAuthentication.java — Changed urlStrings.get(0) to urlStrings.size() > 0 ? urlStrings.get(0) : null

            Assignee:
            Chris Hyzer
            Reporter:
            Chris Hyzer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: