That's what I thought! Thanks for the confirmation.

-will

On 04.04.2011, at 13:47, Jan Haderka wrote:
> On Apr 4, 2011, at 1:25 PM, Will Scheidegger wrote:
> 
>> 
>> Hi Jan
>> 
>> Thanks again for the additional info. This is pretty much what I came up 
>> with too. And this is fine with me. If there is no real reason why I should 
>> not simply let the JCRAuthModule fetch my user via a custom user manager 
>> then I would like to go that way (without a custom login module).
>> 
>> When you say: "...limit your user manager to just some realm instead" what 
>> do you mean with that? When I used the custom login module, I specified a 
>> realm there.
> 
> That's exactly what I meant
> 
>> Can I "limit" the user manager to a realm? I mean when configuring it in the 
>> node "test" then getting the user manager for the realm "test" will return 
>> my user manager. Is there anything else that could/should be done?
> 
> The name under which the user manager is registered is used as a realm. If no 
> realm is provided from login callback, login module will usually go and 
> request "ALL" realm at which point Magnolia returns DeletageUserManager that 
> loops via all registered user managers until one is found that can return 
> given user or all fail.
> 
> Jan
> 
>> 
>> -will
>> 
>> 
>> On 04.04.2011, at 12:50, Jan Haderka wrote:
>> 
>>> 
>>> If I remember properly you set your login module to "skip on previous 
>>> success" so if JCRAuthModule succeed (and it does if user and pwd match), 
>>> your module will not be called.
>>> 
>>> Also IIRC user managers are called in order in which they are defined in 
>>> AdminCentral. Putting your one on first place ensures Magnolia will first 
>>> ask your userManager and only then the others. 
>>> Last but not least you might want to limit your user manager to just some 
>>> realm instead of all of them (don't remember if you configured that or not).
>>> 
>>> HTH,
>>> Jan



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to