You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/05/20 12:27:00 UTC

[jira] [Work logged] (KNOX-2606) Knox Token Generation fails to generate token with lifetime of 1year(365 days)

     [ https://issues.apache.org/jira/browse/KNOX-2606?focusedWorklogId=599768&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-599768 ]

ASF GitHub Bot logged work on KNOX-2606:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/May/21 12:26
            Start Date: 20/May/21 12:26
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request #450:
URL: https://github.com/apache/knox/pull/450


   ## What changes were proposed in this pull request?
   
   In order to avoid misunderstandings and customer escalations, the token generation UI now indicates what is the configured maximum lifetime (`knox.token.ttl` in the relevant topology). In case end-users wants to generate a token that exceeds the configured maximum, a confirmation window is shown where we explain the side effects.
   
   Please note that if `knox.token.ttl` is set to `-1` the topology owner explicitly configured `unlimited lifetime`, so we do not need to check the supplied lifespan.
   
   ## How was this patch tested?
   
   Manually tested.
   
   <img width="618" alt="Screen Shot 2021-05-20 at 1 54 02 PM" src="https://user-images.githubusercontent.com/34065904/118978093-35375e80-b977-11eb-8bf6-8716dc4abcc3.png">
   
   <img width="631" alt="Screen Shot 2021-05-20 at 1 53 32 PM" src="https://user-images.githubusercontent.com/34065904/118978127-3ff1f380-b977-11eb-9609-8d1def815d0c.png">
   


-- 
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:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 599768)
    Remaining Estimate: 0h
            Time Spent: 10m

> Knox Token Generation fails to generate token with lifetime of 1year(365 days)
> ------------------------------------------------------------------------------
>
>                 Key: KNOX-2606
>                 URL: https://issues.apache.org/jira/browse/KNOX-2606
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Saksham Puri
>            Assignee: Sandor Molnar
>            Priority: Major
>         Attachments: image-2021-05-18-20-44-13-328.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> *Problem Description:*
> When token lifetime is set to 366 Days 0 Hours 0 Minutes, the token generated from token service falls back to default TTL configured in the Knox token service and does not generate token with 1 year lifetime.
> !image-2021-05-18-20-44-13-328.png|width=517,height=485!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)