AnsweredAssumed Answered

Extending surf LoginController

Question asked by sans on Jun 16, 2011
Latest reply on Jun 20, 2011 by sans
I want to extend the surf LoginController so that I can check if the user is part of a group in an AD, if yes allow login.
Now I have extended surf LoginController and created a jar put that jar in share/WEB-INF/lib folder.
But when I test it, I am getting PsersonService class not found exception as I am using personService.PersonExists(username) to see if the person exists.
So I moved the jar file to alfresco/WEB-INF/lib because PersonService is present in alfresco-repository-3.4.d.jar.
But now I am getting LoginController class not found exception. Because LoginController is in share/WEB-INF/lib.
Any suggestions on how to get around this?

Please help!!!