Please take a look at the change

   http://cr.openjdk.java.net/~weijun/7195426/webrev.00

It seems we confused the mask and the position.

Thanks
Max



-------- Original Message --------
7195426: kdc_default_options not supported correctly
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7195426

  Product: java
  Category: jgss
  Subcategory: krb5plugin

=== *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

Reply via email to