J.Andreina created KNOX-1022: -------------------------------- Summary: Configuring knox token ttl to higher value generates an access token which is not valid Key: KNOX-1022 URL: https://issues.apache.org/jira/browse/KNOX-1022 Project: Apache Knox Issue Type: Bug Components: Server Reporter: J.Andreina Priority: Minor
If TTL for Knox token is configured to negative value other than -1 or configured to a value in milli seconds which when gets added to current time in milli seconds to calculate the token expiry becomes > LONG.MAX_VALUE, then token expiry will become negative value. In such cases there is no need to go ahead and generate a token which will not be valid at all (already expired). -- This message was sent by Atlassian JIRA (v6.4.14#64029)