The idea is to have a tight integration between the backoffice system and Magnolia. A user is considered logged into Magnolia if they've logged into the backoffice system (tried to achieve this in URISecurityFilter, but no luck so far). However which role (or group) a user has in Magnolia is stored in Magnolia - so the user authentication is backoffice, whilst user profile is Magnolia.

However to make sure no admin screws up when adding more users to Magnolia, I wanted to put in a check that every user added to Magnolia also exist in the backoffice.

M

On 10 Dec 2008, at 17:08, Grégory Joseph wrote:


On Dec 10, 2008, at 6:06 PM, Martin Algesten wrote:

Hi there,

The use case is that I want to double check that a certain login exist in the backoffice system before allowing it to be created in Magnolia.

But why create it in Magnolia in the 1st place ? :)

-g

On 10 Dec 2008, at 16:08, Grégory Joseph wrote:


Hi Martin,

You're unfortunately right, the admincentral's user creation currently does not use UserManager at all, but rather create nodes "directly". If your users are managed in a 3rd party system however, I'd assume this system has some sort of UI to let you add users, so the use case isn't entirely clear.


-g

On Dec 10, 2008, at 1:08 PM, Martin Algesten wrote:



Hey,

I'm trying to integrate the user creation with our backend system handling users. I want to check that the user being created exists in my backend.

It seems Magnolia doesn't actually give me any hook when creating users. When I press the "New user" button the web page issues a request with "createItemType=mgnl:user" as parameter. AdminTreeMVCHandler receives this and goes ahead and creates a new such a node in the repository.

At the same time we have:

UserManager.createUser(name,pw)

implemented by MgnlUserManager to also do very similar changes in the repository - however this one doesn't seem to ever be called. So me being able to set system and admin userManger in the admin is neither here nor there.

Is there a disconnect here?

M

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


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



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


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



----------------------------------------------------------------
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