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

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

                Author: ASF GitHub Bot
            Created on: 19/Mar/21 12:49
            Start Date: 19/Mar/21 12:49
    Worklog Time Spent: 10m 
      Work Description: lmccay commented on a change in pull request #418:
URL: https://github.com/apache/knox/pull/418#discussion_r597651353



##########
File path: 
gateway-service-knoxtoken/src/main/java/org/apache/knox/gateway/service/knoxtoken/TokenResource.java
##########
@@ -91,6 +92,7 @@
   static final String RENEW_PATH = "/renew";
   static final String REVOKE_PATH = "/revoke";
   private static final String TARGET_ENDPOINT_PULIC_CERT_PEM = 
"knox.token.target.endpoint.cert.pem";
+  private static final long MILLIS_IN_DAY = 86400000L;

Review comment:
       Nice - can follow up in another commit. I have other changes in mind as 
well anyway.




-- 
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: 568934)
    Time Spent: 50m  (was: 40m)

> Add a Token Generation Page for Acquiring JWT Tokens for integration
> --------------------------------------------------------------------
>
>                 Key: KNOX-2555
>                 URL: https://issues.apache.org/jira/browse/KNOX-2555
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Homepage
>            Reporter: Larry McCay
>            Assignee: Larry McCay
>            Priority: Major
>             Fix For: 1.6.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> This patch provides a new Token Generation application that can be hosted in 
> any topology just as any Knox application. It will be added to the 
> homepage.xml topology initially.
> In addition, this application requires the KnoxToken service to be added to 
> the same topology for acquiring tokens.
> It also allows the user to select a lifespan for the JWT token in days.
> This requires a change to the KnoxToken service itself to accept a lifespan 
> query param.
> The requested lifespan must be less than or equal to the configured TTL for 
> the KnoxService.



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

Reply via email to