How do I get a hook into the share login process? And by hook I mean a place I can add some java code. The POST url on share is /share/page/dologin But I cannot for the life of me find where that maps to. Is it a webscript? Java controller? Where is this magical code?
I know it must authenticate against the ACS, so where is that call made? Where on the ACS side is that handled?
I tried adding a custom SlingshotLoginController that all it does is "Hello world" to the log file. I placed it in my org.alfresco.web.site.servlet package in share. I was under the impression that my custom class would then replace the default one like Alfreaco ACS does.
How do I override/customize java classes in Share?
This project could show you how to extend / replace the Share authentication piece:
https://github.com/wrighting/alfresco-cas/tree/master/alfresco-cas-share-amp
It's using a CAS connector, but you can add your own code in that step.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.