cancel
Showing results for 
Search instead for 
Did you mean: 

Execute custom code on login

rahul_phadnis
Champ in-the-making
Champ in-the-making
I am looking for information about executing custom code on successful login to share. I am using Alfresco version 5.0.d. I have reviewed documentation about Custom Actions at  http://docs.alfresco.com/community/references/dev-extension-points-actions.html; but I don't see how I can use that with login.

What I am trying to do is execute code to integrate with an external system and retrieve logged in user's information and add him to appropriate roles in Alfresco based on that information.

I am requesting pointers for doing this.

Best regards,

Rahul Phadnis
1 REPLY 1

romschn
Star Collaborator
Star Collaborator
One option that I can think of is - check if you can customize login web script itself to achieve this. In login web script, if authentication is successful then do your custom processing and then return response back. See if this work or not.

Hope this helps.