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

KerberosString should use UTF-8 by default

    Details

      Description

      In earlier version of Java kerberos, KerberosString was treated as pure ASCII and stored and loaded as a GeneralString. In JDK-6862679, we realized Windows is using UTF-8. A system property (sun.security.krb5.msinterop.kstring) was added so that when it's set to true UTF-8 is used. We keep the default encoding to ASCII to be compatible.

      In fact, RFC 3961 requires it to be UTF-8 string, and MIT krb5 also uses UTF-8. It's time to change the default to UTF-8. The system property can be kept.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                weijun Weijun Wang
                Reporter:
                weijun Weijun Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: