AnsweredAssumed Answered

Share authentication customization

Question asked by laridev on Feb 11, 2018
Latest reply on Feb 12, 2018 by laridev
Branched from an earlier discussion

I Was looking at your Profile on alfresco community and i found that you are an Expert i'm Honored to Learn from you , So 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 [] [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 .


Edit by Axel Faust: This question was originally posted as a comment to this 5 year old thread. I have split it into its own question due to the extreme age of the original thread.