Destroys the user's tickets.
Lists cached tickets.
Lists cached tickets.
options to pass to the klist
command.
an Expect that returns the list of all the cached tickets.
Obtains a ticket granting ticket for principal
either using password
or keytab
.
Obtains a ticket granting ticket for principal
either using password
or keytab
.
options to pass to the kinit
command.
Either an ErrorCase or Unit if the operation was successful.
Tries to parse a date time string returned by a kadmin get_principal
operation.
Tries to parse a date time string returned by a kadmin get_principal
operation.
The string must be in the format "EEE MMM dd HH:mm:ss zzz yyyy"
, see
Joda Time DateTimeFormat
for an explanation of the format.
If the string is either "[never]"
or "[none]"
the Never
object will be returned.
Otherwise the string will be parsed in the following way:
dateTimeString
.DateTimeFormat
cannot process time zones, the timezone will be removed from dateTimeString
, and an
attempt to match it against one of DateTimeZone.getAvailableIDs
will be made. If no match is found the default
timezone will be used.DateTimeFormat
will be constructed using the format above (except the time zone), the
computed timezone and the default locale.dateString
(the result of step 1 and 2) will be parsed to a DateTime
using the format
constructed in step 4.
the string containing the date time.
Never
or an AbsoluteDateTime
Parses durationString
into a FiniteDuration.
Parses durationString
into a FiniteDuration.
The expected format is "d days? HH:mm:ss".
the string to parse.
the parsed FiniteDuration or Duration.Zero if an error occurred.