Hi,I'm trying to migrate our alfresco 3.0 to 3.3 but I'm facing difficulties to set up a custom Authentication filter in Alfresco Share.The one for alfresco explorer worked directly without much trouble but I can't port the one in alfresco Share.The reason is that I have to use the spring-surf libraries instead of alfresco-webscript-framework.jar and alfresco-web-framework.jar.In my current version for 3.0 I got this lines:
UserFactory userFactory = FrameworkHelper.getUserFactory();
boolean authenticated = userFactory.authenticate(req, userName,user_guid);
and in 3.3 I can't find FrameworkHelper class. I tried to use this instead
UserFactory userFactory = FrameworkUtil.getServiceRegistry().getUserFactory();
boolean authenticated = userFactory.authenticate(req, userName,user_guid);
but it's not working … FrameworkUtil.getServiceRegistry() is giving null, I also tried getting the RequestContext without success.Can someone point me to the right direction?Thanks in advance