Hi all,
Still not found any solution, and the whole
jaas/authentication/authorization/JCR/4.5/externalUser/... is still not clear
to me...
I've now 2 chains in my jaas.config file, which look like this:
[code]
magnolia {
info.magnolia.jaas.sp.jcr.JCRAuthenticationModule optional;
info.magnolia.jaas.sp.ldap.ADAuthenticationModule requisite realm=admin
skip_on_previous_success=true jndi.ldap.config=ad.properties;
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required;
};
magnolia-containerbased {
com.xxx.security.ContainerAuthenticationModule required; /* My own code !!! */
info.magnolia.jaas.sp.jcr.JCRAuthorizationModule required;
};
[/code]
My jackrabbit-bundle-derby-search.xml is the one pasted above in my last
message. I've only changed the appName to magnolia-containerbased in order to
make it match with the jaas chain.
As far as I understand something, the "magnolia" chain is used for
AdminCentral. The other one is the one for my application. But I still get the
same error (see my first message). I land on a line of code where one tries to
get the user password and it's not known. Jan wrote I should not get to this
line of code since I should already be authenticated on the JRC level at this
time.
Could someone tell me how the JCR authentication runs and why I should already
be authenticated ? And even better, maybe you know why I'm NOT authenticated !
Thanks in advance, greets.
Fabrice
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=7f03895a-d94f-445a-a734-c0ab920d85d0
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------