You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Lin Zeng (JIRA)" <ji...@apache.org> on 2017/08/09 10:59:00 UTC
[jira] [Comment Edited] (DIRKRB-646) Add the feature of parsing
time duration for kinit tool
[ 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)