[ 
https://issues.apache.org/jira/browse/DIRKRB-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119710#comment-16119710
 ] 

Lin Zeng edited comment on DIRKRB-646 at 8/9/17 10:58 AM:
----------------------------------------------------------

I update the patch. Now Java7 is supported.

The allowed time duration formats also updated:

# h:m[:s]   e.g. _36:00_                        – parses as "36 hours"
# NdNhNmNs   e.g. _2D3H4M_          – parses as "2 days, 3 hours and 4 minutes"
# number of seconds   e.g. _3600_     – parses as "1 hour"


was (Author: zenglinx):
I update the patch. The allowed time duration formats also updated:

# h:m[:s]   e.g. _36:00_                        – parses as "36 hours"
# NdNhNmNs   e.g. _2D3H4M_          – parses as "2 days, 3 hours and 4 minutes"
# number of seconds   e.g. _3600_     – parses as "1 hour"

> Add the feature of parsing time duration for kinit tool
> -------------------------------------------------------
>
>                 Key: DIRKRB-646
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-646
>             Project: Directory Kerberos
>          Issue Type: Improvement
>            Reporter: Lin Zeng
>            Assignee: Lin Zeng
>         Attachments: DIRKRB-646-01.patch, DIRKRB-646-02.patch
>
>
> By Kerberos kinit, user can use "Time duration" string (e.g. "5:30" or 
> "5h30m") to specify ticket lifetime, renewable_life and so on.
> It's very convenient for user to take advantage of "Time duration" string, I 
> think Kerby should has this feature.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to