Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4426256

Better exception message when krb5.conf file is not available

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • security-libs
    • None
    • merlin
    • generic
    • generic

      Currently when Krb5LoginModule can't find the Krb5.conf the error message is :
      KrbException: Null realm name (601) - KrbException: Could not load
      configuration file java.io.FileNotFoundException: /etc/krb5/krb5.conf (No such
      file or directory).

      It will be easier to understand if the error message is simply:
      javax.security.auth.login.LoginException: Could not load configuration file /etc/krb5/krb5.conf.boigs (No such file or directory)

            rmartisunw Ramachandran Marti (Inactive)
            rmartisunw Ramachandran Marti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: