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

Krb5.java has not defined messages for all error codes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • security-libs
    • None

      KDC_ERR_SVC_UNAVAILABLE(29) is documented in Krb5.java, has an error message and KrbException.java does use it, but no error message is mapped to the code.

      Also, request to add missing error codes 26--28, 51 from [1] and
      > public static final int KRB_AP_ERR_NOREALM = 62;
      > public static final int KRB_AP_ERR_GEN_CRED = 63;

      look incorrect. Plus the mapping in errMsgList for those.

      [1] https://www.rfc-editor.org/rfc/rfc4120#section-7.5.9

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: