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

Knox tokens created for impersonated user doesn't honor configured per user limit value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 2.0.0
    • None
    • None

    Description

      Steps
      1. Set below configurations
      gateway.knox.token.limit.per.user = 5
      gateway.knox.token.user.limit.exceeded.action = REMOVE_OLDEST
      knox.token.proxyuser.hrt_qa.users=hrt_1
      knox.token.proxyuser.hrt_qa.hosts=*
      2. Login to token generation page as hrt_qa user
      3. Fetch 10 token with impersonation field set to "hrt_1"

      Expected Result:

      hrt_qa should be allowed to create only 5 tokens with impersonated user set to hrt_1

      Issue:

      Tokens created for impersonated user doesnt honor configured per user limit value

      ie. hrt_qa user is able to create any number of tokens as hrt_1

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              andreina J.Andreina
              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 - 50m
                  50m