Because need to login this user in magnolia.
[code]MgnlContext.login(loginContext.getSubject());[/code]
Works as needed.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=4021e65d-dc82-4b46-8437-54fca968c187
I made my LoginModule implementation. Add module to config. Successfully login
(watch login process on debubg). And after login, i still gettinf anonymous
user. Why?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=4021e65d-dc82-4b46-8437-54fca968c187
--
Looks helpful
http://www.avajava.com/tutorials/lessons/how-do-i-create-a-login-module.html
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=4021e65d-dc82-4b46-8437-54fca968c187
For list details,
I'm looking for solution like this (pseudocode):
[code]
doGet(){
//validating CAS service ticket, getting authenticated username. This is not
important. Some code.
MgnlUser user = new MgnlUser("username");
user.addRole(ROLE.SIMPLE_USER);
MagnoliaUserContext.authenticate(user);
}
[/code]
--
Con
Hi Nils.
* Yes, it's CAS server, but with custom authentication flow. It's not possible
to use cas module for us.
* But as it possible to see LoginHandlers are part of login flow. But i need to
authenticate user from my custom servlet.
* Managers are for managing users. From my magnolia instance