Hi Luigi Magnolia handels login via JAAS [1]. You would have to write your own jaas module which will most likely extend info.magnolia.jaas.sp.jcr.JCRAuthenticationModule (or AbstractLoginModule). And you will probably also need to write your own user manager class extending info.magnolia.cms.security.ExternalUserManager. Maybe you’ll need your own user class as well, extending info.magnolia.cms.security.ExternalUser.
Then you’ll have to patch it all together with configuration: - the authentication module needs to be configured in the JAAS chain (in the jaas.config file) - the user manager has to be added in the magnolia configuration under config:/server/security/userManagers But this is definitely no entry level topic. I had no clue about JAAS when I tackled the task and it took me some head scratching before I got it running. Good luck! -will [1] http://www.oracle.com/technetwork/java/javase/jaas/index.html <http://www.oracle.com/technetwork/java/javase/jaas/index.html> > On 21.11.2014, at 15:34, luigi colella (via Magnolia Forums) > <[email protected]> wrote: > > Hi, > i'm new in magnolia cms. > my goal is customize login and registration component. > i would like to call an external web service when user register or logs-in in > magnolia. > how i can do it? > which classes i will have to override? > can you help me? > Thanks a lot > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=72cb3c0e-df5d-47eb-aeae-2c2dcbec9c90 > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
