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/06/24 13:15:00 UTC

[jira] [Work logged] (KNOX-2623) Token generation page improvements

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

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

                Author: ASF GitHub Bot
            Created on: 24/Jun/21 13:14
            Start Date: 24/Jun/21 13:14
    Worklog Time Spent: 10m 
      Work Description: smolnar82 opened a new pull request #460:
URL: https://github.com/apache/knox/pull/460


   ## What changes were proposed in this pull request?
   
   By default, lifespan attributes (day, hour, and minute spinners) are displayed on the token generation UI. However, end-users have a way to hide these input fields by setting a newly introduced topology-level configuration, called `knox.token.lifespan.input.enabled`, to `false`.
   In this case, the generated token will have the configured/default token TTL.
   I also made the default value of the lifespan attributes to 1 hour.
   
   ## How was this patch tested?
   
   Updated the JUnit tests and executed several manual testing locally (with and w/o the lifespan properties).


-- 
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: 614496)
    Remaining Estimate: 0h
            Time Spent: 10m

> Token generation page improvements
> ----------------------------------
>
>                 Key: KNOX-2623
>                 URL: https://issues.apache.org/jira/browse/KNOX-2623
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Homepage
>    Affects Versions: 1.6.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following improvements should be implemented on the token generation page:
>  - the lifespan spinners should be optional. That is, a topology-level config should be added to indicate if end-users can select a lifespan on the token generation page or not (if there is no lifespan the generated tokens will have the default/configured TTL)
>  - the configured TTL ({{knox.token.ttl}}) in the {{homepage}} topology should be set to 1 hour. The default value of lifespan spinners should also reflect the same default.



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