<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 6:08 PM, Galder Zamarreño <span dir="ltr">&lt;<a href="mailto:galder@redhat.com" target="_blank">galder@redhat.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I think this is a problem of JDK8, I think I had that before… what JDK are you using?<br>


<div><div class="h5"><br>
On 25 Jun 2014, at 13:08, Wolf-Dieter Fink &lt;<a href="mailto:wfink@redhat.com">wfink@redhat.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; I use latest upstream of git@github.com:infinispan/infinispan.git<br>
&gt;   commit bc949a3acb354ff9ac3202b450c521dc6740b415<br>
&gt;   Author: Martin Gencur &lt;<a href="mailto:mgencur@redhat.com">mgencur@redhat.com</a>&gt;<br>
&gt;   Date:   Thu Jun 19 15:59:27 2014 +0200<br>
&gt;<br>
&gt;<br>
&gt; and the build failed &quot;build.sh clean install&quot;, see below.<br>
&gt; Is there a general problem with that tests? Or is it a problem in my<br>
&gt; environment?<br>
&gt;<br>
&gt;<br>
&gt; Also you can not build with &quot;-Dmaven.test.skip=true&quot; as the next module<br>
&gt; failed because of dependencies<br></div></div></blockquote><div><br></div><div>mvn clean install -DskipTests</div><div><br></div><div>will work, it builds and packages the tests but it does not run them.</div><div><br>

</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
&gt; [INFO] Infinispan Server - Test Suite .................... FAILURE [1.687s]<br>
&gt;   ....<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [INFO] BUILD FAILURE<br>
&gt; [INFO]<br>
&gt; ------------------------------------------------------------------------<br>
&gt; [ERROR] Failed to execute goal on project test-suite: Could not resolve<br>
&gt; dependencies for project<br>
&gt; org.infinispan.server:test-suite:jar:7.0.0-SNAPSHOT: Failure to find<br>
&gt; org.infinispan:infinispan-security-integrationtests:jar:tests:7.0.0-SNAPSHOT<br>
&gt; in <a href="http://maven.repository.redhat.com/earlyaccess/all/" target="_blank">http://maven.repository.redhat.com/earlyaccess/all/</a> was cached in the<br>
&gt; local repository, resolution will not be reattempted until the update<br>
&gt; interval of redhat-earlyaccess-repository-group has elapsed or updates<br>
&gt; are forced -&gt; [Help 1]<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ---------  &quot;./build.sh clean install&quot;  failure<br>
&gt; ---------------------------------<br>
&gt; testReaderRemove(org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT)<br>
&gt; Time elapsed: 0.053 sec  &lt;&lt;&lt; ERROR!<br>
&gt; java.lang.Exception: Unexpected exception,<br>
&gt; expected&lt;java.security.PrivilegedActionException&gt; but<br>
&gt; was&lt;javax.security.auth.login.LoginException&gt;<br>
&gt;     at<br>
&gt; sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)<br>
&gt;     at<br>
&gt; com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)<br>
&gt;     at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:123)<br>
&gt;     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:235)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:316)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)<br>
&gt;     at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at org.jboss.as.naming.InitialContext.&lt;init&gt;(InitialContext.java:90)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)<br>
&gt;     at<br>
&gt; javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)<br>
&gt;     at<br>
&gt; javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)<br>
&gt;     at javax.naming.InitialContext.init(InitialContext.java:242)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.constructLdapContext(AdvancedLdapLoginModule.java:432)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:792)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:356)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:287)<br>
&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;     at<br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;     at<br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)<br>
&gt;     at javax.security.auth.login.LoginContext.login(LoginContext.java:595)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.AbstractAuthentication.authenticateWithKrb(AbstractAuthentication.java:68)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT.getAdminSubject(KrbLdapAuthenticationIT.java:71)<br>
&gt;<br>
&gt; testAdminCRUD(org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT)<br>
&gt; Time elapsed: 0.054 sec  &lt;&lt;&lt; ERROR!<br>
&gt; javax.security.auth.login.LoginException: Unable to create new<br>
&gt; InitialLdapContext<br>
&gt;     at<br>
&gt; sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)<br>
&gt;     at<br>
&gt; com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)<br>
&gt;     at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:123)<br>
&gt;     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:235)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:316)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)<br>
&gt;     at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at org.jboss.as.naming.InitialContext.&lt;init&gt;(InitialContext.java:90)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)<br>
&gt;     at<br>
&gt; javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)<br>
&gt;     at<br>
&gt; javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)<br>
&gt;     at javax.naming.InitialContext.init(InitialContext.java:242)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.constructLdapContext(AdvancedLdapLoginModule.java:432)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:792)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:356)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:287)<br>
&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;     at<br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;     at<br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)<br>
&gt;     at javax.security.auth.login.LoginContext.login(LoginContext.java:595)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.AbstractAuthentication.authenticateWithKrb(AbstractAuthentication.java:68)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT.getAdminSubject(KrbLdapAuthenticationIT.java:71)<br>
&gt;<br>
&gt; testUnauthenticatedWrite(org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT)<br>
&gt; Time elapsed: 0.052 sec  &lt;&lt;&lt; ERROR!<br>
&gt; java.lang.Exception: Unexpected exception,<br>
&gt; expected&lt;java.lang.SecurityException&gt; but<br>
&gt; was&lt;javax.security.auth.login.LoginException&gt;<br>
&gt;     at<br>
&gt; sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)<br>
&gt;     at<br>
&gt; com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)<br>
&gt;     at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:123)<br>
&gt;     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:235)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:316)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)<br>
&gt;     at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at org.jboss.as.naming.InitialContext.&lt;init&gt;(InitialContext.java:90)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)<br>
&gt;     at<br>
&gt; javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)<br>
&gt;     at<br>
&gt; javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)<br>
&gt;     at javax.naming.InitialContext.init(InitialContext.java:242)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.constructLdapContext(AdvancedLdapLoginModule.java:432)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:792)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:356)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:287)<br>
&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;     at<br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;     at<br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)<br>
&gt;     at javax.security.auth.login.LoginContext.login(LoginContext.java:595)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.AbstractAuthentication.authenticateWithKrb(AbstractAuthentication.java:68)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT.getAdminSubject(KrbLdapAuthenticationIT.java:71)<br>
&gt;<br>
&gt; testWriterWrite(org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT)<br>
&gt; Time elapsed: 0.053 sec  &lt;&lt;&lt; ERROR!<br>
&gt; javax.security.auth.login.LoginException: Unable to create new<br>
&gt; InitialLdapContext<br>
&gt;     at<br>
&gt; sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)<br>
&gt;     at<br>
&gt; com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)<br>
&gt;     at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:123)<br>
&gt;     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:235)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:316)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)<br>
&gt;     at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at org.jboss.as.naming.InitialContext.&lt;init&gt;(InitialContext.java:90)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)<br>
&gt;     at<br>
&gt; javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)<br>
&gt;     at<br>
&gt; javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)<br>
&gt;     at javax.naming.InitialContext.init(InitialContext.java:242)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.constructLdapContext(AdvancedLdapLoginModule.java:432)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:792)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:356)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:287)<br>
&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;     at<br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;     at<br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)<br>
&gt;     at javax.security.auth.login.LoginContext.login(LoginContext.java:595)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.AbstractAuthentication.authenticateWithKrb(AbstractAuthentication.java:68)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT.getAdminSubject(KrbLdapAuthenticationIT.java:71)<br>
&gt;<br>
&gt; testWriterCreateWrite(org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT)<br>
&gt; Time elapsed: 0.053 sec  &lt;&lt;&lt; ERROR!<br>
&gt; javax.security.auth.login.LoginException: Unable to create new<br>
&gt; InitialLdapContext<br>
&gt;     at<br>
&gt; sun.security.jgss.krb5.Krb5Context.initSecContext(Krb5Context.java:710)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:248)<br>
&gt;     at<br>
&gt; sun.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:179)<br>
&gt;     at<br>
&gt; com.sun.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:193)<br>
&gt;     at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:123)<br>
&gt;     at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:235)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2740)<br>
&gt;     at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:316)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)<br>
&gt;     at<br>
&gt; com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContext.getDefaultInitCtx(InitialContext.java:114)<br>
&gt;     at org.jboss.as.naming.InitialContext.init(InitialContext.java:99)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at org.jboss.as.naming.InitialContext.&lt;init&gt;(InitialContext.java:90)<br>
&gt;     at<br>
&gt; org.jboss.as.naming.InitialContextFactory.getInitialContext(InitialContextFactory.java:44)<br>
&gt;     at<br>
&gt; javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)<br>
&gt;     at<br>
&gt; javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)<br>
&gt;     at javax.naming.InitialContext.init(InitialContext.java:242)<br>
&gt;     at<br>
&gt; javax.naming.ldap.InitialLdapContext.&lt;init&gt;(InitialLdapContext.java:153)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.constructLdapContext(AdvancedLdapLoginModule.java:432)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.innerLogin(AdvancedLdapLoginModule.java:343)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule$AuthorizeAction.run(AdvancedLdapLoginModule.java:792)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:356)<br>
&gt;     at<br>
&gt; org.jboss.security.negotiation.AdvancedLdapLoginModule.login(AdvancedLdapLoginModule.java:287)<br>
&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;     at<br>
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;     at<br>
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;     at javax.security.auth.login.LoginContext.invoke(LoginContext.java:762)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:690)<br>
&gt;     at javax.security.auth.login.LoginContext$4.run(LoginContext.java:688)<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt;     at<br>
&gt; javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)<br>
&gt;     at javax.security.auth.login.LoginContext.login(LoginContext.java:595)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.AbstractAuthentication.authenticateWithKrb(AbstractAuthentication.java:68)<br>
&gt;     at<br>
&gt; org.infinispan.test.integration.security.embedded.KrbLdapAuthenticationIT.getAdminSubject(KrbLdapAuthenticationIT.java:71)<br>
&gt;<br>
&gt; Running<br>
&gt; org.infinispan.test.integration.security.embedded.LdapAuthenticationIT<br>
&gt; Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.591<br>
&gt; sec - in<br>
&gt; org.infinispan.test.integration.security.embedded.LdapAuthenticationIT<br>
&gt;<br>
&gt; Results :<br>
&gt;<br>
&gt; Tests in error:<br>
&gt;   KrbLdapAuthenticationIT.testUnprivilegedWrite »  Unexpected<br>
&gt; exception, expecte...<br>
&gt;   KrbLdapAuthenticationIT.testUnauthenticatedRemove »  Unexpected<br>
&gt; exception, exp...<br>
&gt;   KrbLdapAuthenticationIT.testUnprivilegedRemove »  Unexpected<br>
&gt; exception, expect...<br>
&gt; KrbLdapAuthenticationIT&gt;AbstractAuthentication.setupCache:99-&gt;getAdminSubject:71-&gt;AbstractAuthentication.authenticateWithKrb:68<br>
&gt; » Login<br>
&gt;   KrbLdapAuthenticationIT.testUnauthenticatedRead »  Unexpected<br>
&gt; exception, expec...<br>
&gt;   KrbLdapAuthenticationIT.testWriterRead »  Unexpected exception,<br>
&gt; expected&lt;java....<br>
&gt; KrbLdapAuthenticationIT&gt;AbstractAuthentication.setupCache:99-&gt;getAdminSubject:71-&gt;AbstractAuthentication.authenticateWithKrb:68<br>
&gt; » Login<br>
&gt;   KrbLdapAuthenticationIT.testReaderWrite »  Unexpected exception,<br>
&gt; expected&lt;java...<br>
&gt;   KrbLdapAuthenticationIT.testUnprivilegedRead »  Unexpected exception,<br>
&gt; expected...<br>
&gt;   KrbLdapAuthenticationIT.testReaderRemove »  Unexpected exception,<br>
&gt; expected&lt;jav...<br>
&gt; KrbLdapAuthenticationIT&gt;AbstractAuthentication.setupCache:99-&gt;getAdminSubject:71-&gt;AbstractAuthentication.authenticateWithKrb:68<br>
&gt; » Login<br>
&gt;   KrbLdapAuthenticationIT.testUnauthenticatedWrite »  Unexpected<br>
&gt; exception, expe...<br>
&gt; KrbLdapAuthenticationIT&gt;AbstractAuthentication.setupCache:99-&gt;getAdminSubject:71-&gt;AbstractAuthentication.authenticateWithKrb:68<br>
&gt; » Login<br>
&gt; KrbLdapAuthenticationIT&gt;AbstractAuthentication.setupCache:99-&gt;getAdminSubject:71-&gt;AbstractAuthentication.authenticateWithKrb:68<br>
&gt; » Login<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; infinispan-dev mailing list<br>
&gt; <a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
<br>
<br>
</div></div>--<br>
Galder Zamarreño<br>
<a href="mailto:galder@redhat.com">galder@redhat.com</a><br>
<a href="http://twitter.com/galderz" target="_blank">twitter.com/galderz</a><br>
<div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
infinispan-dev mailing list<br>
<a href="mailto:infinispan-dev@lists.jboss.org">infinispan-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/infinispan-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/infinispan-dev</a><br>
</div></div></blockquote></div><br></div></div>