[
https://issues.apache.org/jira/browse/ZOOKEEPER-1236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215859#comment-13215859
]
Eugene Koontz commented on ZOOKEEPER-1236:
------------------------------------------
{quote}
Unfortunately I couldn't find support for obtaining the default Kerberos realm
in
java.security or javax.security.
(In fact, it seems that javax.security uses sun.security internally, for
example:
http://www.java2s.com/Open-Source/Java-Document/6.0-JDK-Core/security/javax/security/auth/kerberos/KerberosPrincipal.java.htm.
(see "import sun.security.krb5.Asn1Exception;" in the source code)).
So I don't see any way around using the sun.* classes.
{quote}
https://issues.apache.org/jira/browse/ZOOKEEPER-938?focusedCommentId=13081866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13081866
> Security uses proprietary Sun APIs
> ----------------------------------
>
> Key: ZOOKEEPER-1236
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1236
> Project: ZooKeeper
> Issue Type: Bug
> Components: server
> Affects Versions: 3.4.0
> Reporter: Patrick Hunt
> Assignee: Eugene Koontz
> Fix For: 3.5.0
>
>
> See HADOOP-7211 - Recent kerberos integration resulted in the same issue in
> ZK.
> {noformat}
> [javac]
> /home/phunt/dev/zookeeper/src/java/main/org/apache/zookeeper/server/auth/KerberosName.java:88:
> warning: sun.security.krb5.KrbException is Sun proprietary API and may be
> removed in a future release
> [javac] } catch (KrbException ke) {
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira