Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI SQL Client JDBC

Create a file-based ticket cache

  • Last UpdatedJan 04, 2023
  • 1 minute read

Follow this procedure to create a file-based ticket cache or, if the file exists, renew the ticket. On Windows, the file is named {user.home}\krb5cc_{user.name}. On Linux, macOS, and Oracle Solaris the file is named /tmp/krb5cc_uid, where uid is the user identification number.

Note: You must update the file-based ticket cache after the ticket expires or after a password change.

  1. To create a file-based ticket cache, open a Command Prompt window and use the cd command to change the directory to your JRE installation bin folder.

  2. Type kinit -f and press Enter.

    In Java 9 and later, you can use the following parameters to change specific attributes in your ticket:

    • -l

      Set the ticket lifetime.

    • -R

      Set whether the ticket is renewable.

    • -r

      Set the renewal time.

  3. When prompted, enter your credentials and press Enter.

A file cache is created if it does not exist. If the file exists, the ticket is renewed.

TitleResults for “How to create a CRG?”Also Available in