[ https://issues.apache.org/jira/browse/GERONIMO-3388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated GERONIMO-3388: ----------------------------------- Fix Version/s: (was: 2.0.x) 2.0.1 > LoginKerberosTest relies on kerberos not being installed... so it can fail on > windows? > -------------------------------------------------------------------------------------- > > Key: GERONIMO-3388 > URL: https://issues.apache.org/jira/browse/GERONIMO-3388 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security > Affects Versions: 2.0 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.0.2, 2.1 > > > Duminda Ekanayake commented on the user list that LoginKerberosTest was > failing on a windows system. The surefire report indicated that login had > succeeded but the principal count was not what the test expected. Running > the test on my machine goes straight to the "kerberos not installed -- pass" > catch block. > The eventual fix is to run this test with actual kerberos from apacheds, but > the immediate fix is to look for the right number of principals. > Here's the clue that login has succeeded... unlike on a mac: > <testcase time=3D"0.016" name=3D"testLogin"> > <failure type=3D"junit.framework.AssertionFailedError" > message=3D"server-side subject should have three principals > expected:&lt;3&gt; but was:&lt;2&gt;"> > junit.framework.AssertionFailedError: server-side subject should have three > principals expected:&3& but was:&2& > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:282) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:201) > at org.apache.geronimo.security.jaas.LoginKerberosTest.testLogin( > LoginKerberosTest.java:94) > </failure> > <system-out>Debug is true storeKey false useTicketCache true useKeyTab > false doNotPrompt true ticketCache is null isInitiator true KeyTab is null > refreshKrb5Config is false principal is null tryFirstPass is false > useFirstPass is false storePass is false clearPass is false > Acquire TGT from Cache > Principal is [EMAIL PROTECTED] > Commit Succeeded > </system-out> > </testcase> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.