You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2017/09/05 05:45:00 UTC
[jira] [Created] (KNOX-1022) Configuring knox token ttl to higher
value generates an access token which is not valid
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)