Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2713

Improve user limit handling when fetching Knox Tokens

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 2.0.0
    • Server
    • None

    Description

      The current user limit behavior, which returns an error in case the user is trying to generate more tokens than he/she is allowed to, should be refined.

      The plan is to introduce a new service-level parameter called knox.token.user.limit.exceeded.action. This new configuration may have the following values:

      • REMOVE_OLDEST - if that’s configured, the oldest token of the user, who the token is being generated for, will be removed
      • RETURN_ERROR - if that’s configured, Knox will return an error response with 403 error code (as it does today)

      Defaults to RETURN_ERROR.

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 20m
                  20m