<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Is there a way to get Ticket expiration time from JAVA program using Hadoop APIs'? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95054#M8360</link>
    <description>&lt;P&gt;Looking at the source; it's almost possible to do it, but the checks are hidden in some private/protected code. It's something that could be made public -why not file a JIRA on the Apache server?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2015 16:14:38 GMT</pubDate>
    <dc:creator>stevel</dc:creator>
    <dc:date>2015-10-09T16:14:38Z</dc:date>
    <item>
      <title>Is there a way to get Ticket expiration time from JAVA program using Hadoop APIs'?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95052#M8358</link>
      <description />
      <pubDate>Wed, 07 Oct 2015 23:20:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95052#M8358</guid>
      <dc:creator>smayani</dc:creator>
      <dc:date>2015-10-07T23:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Ticket expiration time from JAVA program using Hadoop APIs'?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95053#M8359</link>
      <description>&lt;P&gt;For that you will need to get access to javax.security.auth.kerberos.KerberosTicket, the class in Hadoop &lt;A href="https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/security/UserGroupInformation.html"&gt;UesrGroupInformation&lt;/A&gt; provides API to manage that, however the closest method to deal with expirations is &lt;A href="https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/security/UserGroupInformation.html#checkTGTAndReloginFromKeytab%28%29"&gt;checkTGTAndReloginFromKeytab&lt;/A&gt; which is likely not what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2015 00:08:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95053#M8359</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2015-10-08T00:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to get Ticket expiration time from JAVA program using Hadoop APIs'?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95054#M8360</link>
      <description>&lt;P&gt;Looking at the source; it's almost possible to do it, but the checks are hidden in some private/protected code. It's something that could be made public -why not file a JIRA on the Apache server?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2015 16:14:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-a-way-to-get-Ticket-expiration-time-from-JAVA/m-p/95054#M8360</guid>
      <dc:creator>stevel</dc:creator>
      <dc:date>2015-10-09T16:14:38Z</dc:date>
    </item>
  </channel>
</rss>

