Just to explain better...
Imagine to be in a component model class, inside "execute" method. 

you have this code: 

[code]
final String username = "matteo.pelucco";
final List<String> groups = new LinkedList<String>();
groups.add("publisher");
groups.add("editor");
final String mail = "matteo.pelu...@whatever.com";
final String fullName = "Matteo Pelucco";
[/code]

now, how can I have a MgnlUser "Matteo Pelucco" (with groups) logged in 
Magnolia WITHOUT having that user in users workspace?

In this moment, I can only think about having a redirect to the same page, 
adding some control parameters in the URL and to have a standard JAAS chain to 
handle that.. but I am wondering if there are some API I can call, like: 

[code]
UserManager um = getUserManager();
um.login(new MyUser(username, email, groups, ...);
[/code]

Thanks again,
M.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=851e3c41-e4a1-4c53-9a50-758957fbb621


----------------------------------------------------------------
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: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to