geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <>
Subject [jira] Closed: (GERONIMO-3388) LoginKerberosTest relies on kerberos not being installed... so it can fail on windows?
Date Wed, 08 Aug 2007 22:03:07 GMT


David Jencks closed GERONIMO-3388.

    Resolution: Fixed

Duminda has reported that the test now passes on a kerberos enabled system.

> LoginKerberosTest relies on kerberos not being installed... so it can fail on windows?
> --------------------------------------------------------------------------------------
>                 Key: GERONIMO-3388
>                 URL:
>             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.x, 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:&amp;lt;3&amp;gt; but was:&amp;lt;2&amp;gt;">
> junit.framework.AssertionFailedError: server-side subject should have three
> principals expected:&amp;3&amp; but was:&amp;2&amp;
>     at
>     at junit.framework.Assert.failNotEquals(
>     at junit.framework.Assert.assertEquals(
>     at junit.framework.Assert.assertEquals(
>     at
> </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 Duminda@JKCS_DOMAIN.ORG
> 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.

View raw message