zeroflag opened a new pull request #484:
URL: https://github.com/apache/knox/pull/484


   ## What changes were proposed in this pull request?
   
   We have an equality check when checking the max number of tokens per user. 
But if the user already have N number of tokens, and later the admin changes 
the gateway.knox.token.limit.per.user to a smaller number then this check will 
never trigger.
   
   ## How was this patch tested?
   
   1. Having no limit and generating N tokens
   2. Changing gateway.knox.token.limit.per.user to a lower number than N and 
restarting the service
   3. Trying to generate one more token and getting a limit exception


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to