[
https://issues.apache.org/jira/browse/KNOX-2828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandor Molnar updated KNOX-2828:
--------------------------------
Fix Version/s: 3.0.0
(was: 2.1.0)
Due to the pending 2.1.0 release this JIRA has been pushed out to 3.0.0 as part
of a bulk update. If there is a specific reason to pull this back into the
2.1.0 release and you intend to provide a PR in the next few days please
provide justification and reset the Fix Version to 2.1.0.
> Token generation maximum token ttl unlimited not working when lifespan input
> is disabled
> ----------------------------------------------------------------------------------------
>
> Key: KNOX-2828
> URL: https://issues.apache.org/jira/browse/KNOX-2828
> Project: Apache Knox
> Issue Type: Bug
> Components: Homepage, Server
> Reporter: Marton Balázs
> Priority: Minor
> Fix For: 3.0.0
>
>
> Even though there's no documentation about this feature, when the _KNOXTOKEN_
> service param _knox.token.ttl_ is set to _-1_ in the _homepage_ topology, the
> token generation site indicates that the generated token lifetime can be
> {_}unlimited{_}. Combining this with configuring the
> _knox.token.lifespan.input.enabled_ param of the _KNOXTOKEN_ service to
> _false_ and generating a token, result in generating a token which expiry
> date is: _01/01/1970, 00:59:59._
> Configurations for recreation of the problem:
> In homepage topology KNOXTOKEN service
> {code:java}
> <param>
> <name>knox.token.ttl</name>
> <value>-1</value>
> </param>
> <param>
> <name>knox.token.lifespan.input.enabled</name>
> <value>false</value>
> </param>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)