ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1205

Add a unit test for Kerberos Ticket-Granting Ticket (TGT) renewal

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:

      Description

      Create a unit test to test Kerberos ticket renewal.

      Note that testing Kerberos-related functionality in Java requires that a default kerberos configuration file be available. The location of this file can be set with the java.security.krb5.conf property (see http://download.oracle.com/javase/1.4.2/docs/guide/security/jgss/tutorials/KerberosReq.html ). For more background on Java and Kerberos, see http://download.oracle.com/javase/1,5.0/docs/guide/security/jgss/single-signon.html . For discussion about TGT renewal, see http://freeipa.org/page/Automatic_Ticket_Renewal .

      Mahadev Konar writes: "Mockito would be very helpful here."

        Issue Links

          Activity

          Hide
          Eugene Koontz added a comment -
          Show
          Eugene Koontz added a comment - HADOOP-8078 (used by HDFS-3016 )
          Hide
          Eugene Koontz added a comment -

          HDFS-3016 sets up an ApacheDS KDC server for HDFS security-related unit tests.

          Show
          Eugene Koontz added a comment - HDFS-3016 sets up an ApacheDS KDC server for HDFS security-related unit tests.
          Hide
          Eugene Koontz added a comment -

          This issue has some interesting discussion about using mocking for writing tests.

          Show
          Eugene Koontz added a comment - This issue has some interesting discussion about using mocking for writing tests.

            People

            • Assignee:
              Unassigned
              Reporter:
              Eugene Koontz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development