AnsweredAssumed Answered

I'm Trying to, Override the login Mechanism

Question asked by laridev on Feb 11, 2018
Latest reply on Feb 11, 2018 by afaust

Hello, @
I'm Trying to, Override the login Mechanism as this post :
Share authentication customization 
but i had a Problem It's Telling Me in Share logs : 
-------------------------------------------------------------------------------------------
2018-02-11 11:47:47,900 ERROR [org.alfresco.web.site] [http-apr-8080-exec-2] org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerExceptionjava.lang.NullPointerException
-------------------------------------------------------------------------------------------
what i did is :
                    ♦ Create a custom-slingshot-application-context.xml
                    ♦ Over-ride the Mapping Via /dologin/**=myloginContoller
                    ♦ adding this  : <bean id="myloginController" class="com.alfresco.ElitLoginController"/>
                   ♦ in my class i just created one Method that only takes Request and Response and log them
Thank you .

Outcomes