You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2017/10/19 15:52:00 UTC

[jira] [Commented] (CALCITE-2017) Automatic Kerberos login fails on IBM Java

    [ https://issues.apache.org/jira/browse/CALCITE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211243#comment-16211243 ] 

Josh Elser commented on CALCITE-2017:
-------------------------------------

Running the tests with IBM Java:

{noformat}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.011 sec <<< FAILURE! - in org.apache.calcite.avatica.server.HttpServerSpnegoWithoutJaasTest
org.apache.calcite.avatica.server.HttpServerSpnegoWithoutJaasTest  Time elapsed: 0.011 sec  <<< ERROR!
java.lang.RuntimeException: javax.security.auth.login.LoginException: Bad JAAS configuration: unrecognized option: isInitiator
        at org.apache.calcite.avatica.server.HttpServerSpnegoWithoutJaasTest.setupKdc(HttpServerSpnegoWithoutJaasTest.java:127)
Caused by: javax.security.auth.login.LoginException: Bad JAAS configuration: unrecognized option: isInitiator
        at org.apache.calcite.avatica.server.HttpServerSpnegoWithoutJaasTest.setupKdc(HttpServerSpnegoWithoutJaasTest.java:127)
{noformat}

Among others..

> Automatic Kerberos login fails on IBM Java
> ------------------------------------------
>
>                 Key: CALCITE-2017
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2017
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: avatica-1.11.0
>
>
> Had a report come in from a user.
> Apparently when performing a JAAS login with Krb5LoginModule, Oracle Java uses the option {{isInitiator}} whereas IBM Java uses {{credType}}. This results is the automatic Kerberos login to fail on IBM Java.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)