smolnar82 opened a new pull request, #970: URL: https://github.com/apache/knox/pull/970
## What changes were proposed in this pull request? As described in KNOX-3075, when the token TTL was set to -1 (which allows creating never-expiring tokens), JDBC TSS threw an `UnknownTokenException`. This is wrong. It should have returned the configured `-1` value. ## How was this patch tested? I updated existing JUnit tests to handle the path when fetching tokens for a user. I also added 2 new test cases to ensure this issue never occurs again. -- 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: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org