org.keycloak.testutils.ldap

## Class KerberosKeytabCreator

- java.lang.Object
- - org.keycloak.testutils.ldap.KerberosKeytabCreator

-     public class KerberosKeytabCreator
      extends Object

  Helper utility for creating Keytab files.
  Author:
    Josef Cacek

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `KerberosKeytabCreator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `createKeytab(String principalName, String passPhrase, File keytabFile)` Creates a keytab file for given principal.
    `static void` | `main(String[] args)` The main.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### KerberosKeytabCreator

          public KerberosKeytabCreator()

  - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws IOException

      The main.
      Parameters:
        `args` -
      Throws:
        `IOException`

    - #### createKeytab

          public static void createKeytab(String principalName,
                          String passPhrase,
                          File keytabFile)
                                   throws IOException

      Creates a keytab file for given principal.
      Parameters:
        `principalName` -
        `passPhrase` -
        `keytabFile` -
      Throws:
        `IOException`

Copyright © 2015. All rights reserved.