[ 
https://issues.apache.org/jira/browse/GERONIMO-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks closed GERONIMO-3486.
----------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.1
         Assignee: David Jencks

The CredentialStore is using the test-realm to log in the stuff it knows about, 
so the test-realm needs to be set up.  A better way to do this would be to use 
a gbean-dependency between the credential store and the security realm.  I 
don't see a good way to fix this generically.  The security realm might be in a 
different module and there might be several security realms used in a 
credential store.

> GBean order makes security work?
> --------------------------------
>
>                 Key: GERONIMO-3486
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3486
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.0.2, 2.0.x, 2.1
>            Reporter: Jarek Gawor
>            Assignee: David Jencks
>             Fix For: 2.1
>
>
> I was trying to fix the testsuite/enterprise-testsuite/sec-tests tests. 
> Initially, the test were failing with 
> "javax.security.auth.login.LoginException: No LoginModules configured". After 
> trying a few things, I switched the order of GBeans in the deployment plan 
> and that made the tests pass. See 
> http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/sec-tests/sec-ejb/src/main/resources/META-INF/openejb-jar.xml?r1=560771&r2=579469.
>  
> I'm not sure if this is a bug or not. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to