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

kdc_default_options not supported correctly

    XMLWordPrintable

Details

    • b64
    • generic
    • generic
    • Verified

    Description

      kdc_default_options is a hex number for krb5.conf to define the KDCOptions flags in a single integer where each bit of it represents one of 32 flags.

      If you want to find out if the n-th flag is turn on, you should check for

         kdc_default_options & (1<<(31-n))

      However, java currently checks for

         kdc_default_options & n

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: