[
https://issues.apache.org/jira/browse/KNOX-2599?focusedWorklogId=591304&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-591304
]
ASF GitHub Bot logged work on KNOX-2599:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/Apr/21 23:38
Start Date: 29/Apr/21 23:38
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request #443:
URL: https://github.com/apache/knox/pull/443
## What changes were proposed in this pull request?
- let end-users declare a more refined lifespan
- let end-users add a comment to the generated
## How was this patch tested?
Updated and ran JUnit tests. Additionally, I did manual testing.
1. Tested a wrong lifetime:
<img width="584" alt="Screen Shot 2021-04-30 at 1 31 30 AM"
src="https://user-images.githubusercontent.com/34065904/116630810-3ff06c00-a954-11eb-987a-32d1c401d1e6.png">
2. Tested custom lifespan (token generated at 30 Apr 2021 01:32:14 AM)
<img width="589" alt="Screen Shot 2021-04-30 at 1 32 35 AM"
src="https://user-images.githubusercontent.com/34065904/116630821-44b52000-a954-11eb-990a-4335240e3e7b.png">
3. Saved comment with tricky characters:
<img width="607" alt="Screen Shot 2021-04-30 at 1 34 17 AM"
src="https://user-images.githubusercontent.com/34065904/116630828-4aab0100-a954-11eb-83be-6191d28cd11e.png">
```
postgres=# select * from knox_tokens where token_id =
'0dd15ada-4986-4de8-a261-001668af93f5';
token_id | issue_time | expiration |
max_lifetime | username | comment
--------------------------------------+---------------+---------------+---------------+----------+---------------------------------------------------------------------------
0dd15ada-4986-4de8-a261-001668af93f5 | 1619739244250 | 1619825644246 |
1620344044250 | admin | comment with a question mark ? and my favorite
cartoon tom & jerry !!! :)
(1 row)
```
--
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 591304)
Remaining Estimate: 0h
Time Spent: 10m
> Improve tokengen UI
> -------------------
>
> Key: KNOX-2599
> URL: https://issues.apache.org/jira/browse/KNOX-2599
> Project: Apache Knox
> Issue Type: Improvement
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The following improvements should be made on the {{tokengen}} application's
> UI:
> - let end-users declare a more refined lifespan
> - let end-users add a comment to the generated
--
This message was sent by Atlassian Jira
(v8.3.4#803005)