You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/10/20 10:16:00 UTC

[jira] [Resolved] (KNOX-1022) Configuring knox token ttl to higher value generates an access token which is not valid

     [ https://issues.apache.org/jira/browse/KNOX-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved KNOX-1022.
---------------------------------------
    Resolution: Fixed

> 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
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 0.14.0
>
>
> 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)