cancel
Showing results for 
Search instead for 
Did you mean: 

Hook into share login process

mangar
Star Contributor
Star Contributor

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?

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

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.

Hyland Developer Evangelist