Code review request: 7195426: kdc_default_options not supported correctly
Weijun Wang
weijun.wang at oracle.com
Fri Aug 31 07:08:01 UTC 2012
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
More information about the security-dev
mailing list