smolnar82 opened a new pull request #460: URL: https://github.com/apache/knox/pull/460
## What changes were proposed in this pull request? By default, lifespan attributes (day, hour, and minute spinners) are displayed on the token generation UI. However, end-users have a way to hide these input fields by setting a newly introduced topology-level configuration, called `knox.token.lifespan.input.enabled`, to `false`. In this case, the generated token will have the configured/default token TTL. I also made the default value of the lifespan attributes to 1 hour. ## How was this patch tested? Updated the JUnit tests and executed several manual testing locally (with and w/o the lifespan properties). -- 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. For queries about this service, please contact Infrastructure at: [email protected]
