Re: Alfresco-Lock User Account on unsuccessfull attempts
I configured below way but not working. Correct me if I am doing wrong way.
I am using alfresco sdk for customizations.
<!-- Spring placeholder can be used and will be transparently resolved from configured Spring resolvers + property sources -->
<property name="enabled" value="true" />
<property name="targetBeanName" value="authenticationService" />
<property name="originalClassName" value="org.alfresco.repo.security.authentication.AuthenticationServiceImpl" />
<property name="replacementClassName" value="org.alfresco.repo.security.authentication.CustomAuthenticationServiceImpl" />
public class CustomAuthenticationServiceImpl extends AuthenticationServiceImpl
I have included ImplementationClassReplacingBeanFactoryPostProcessor class and other classes where it has dependency.
Below I have tried to check and it is working whereas I did same thing for AuthenticationServiceImpl but not working.
I just created constructor to check, class is loading or not. MyInvitationServiceImpl constructor is loading during sdk start but AuthenticationServiceImpl constructor not loading.