You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2021/05/19 07:53:03 UTC

[GitHub] [knox] smolnar82 opened a new pull request #449: KNOX-2605 - Better validation of the supplied token lifespan fields

smolnar82 opened a new pull request #449:
URL: https://github.com/apache/knox/pull/449


   ## What changes were proposed in this pull request?
   
   Added more refined validation on each token lifespan field to make sure we do not allow:
   - negative values
   - floating numbers
   - out-of-range values:
     - days: 0- 3650
     - hours: 0 - 23
     - mins: 0- 59
   - empty input
   
   ## How was this patch tested?
   
   Manually tested with different combinations of the lifespan input fields.


-- 
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



[GitHub] [knox] smolnar82 merged pull request #449: KNOX-2605 - Better validation of the supplied token lifespan fields

Posted by GitBox <gi...@apache.org>.
smolnar82 merged pull request #449:
URL: https://github.com/apache/knox/pull/449


   


-- 
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