RM-3274 - fixed invalid AuthenticationUtil bean refference

This commit is contained in:
Ana Bozianu
2016-04-12 14:59:02 +03:00
parent 9e775daee5
commit afd6570ba8
2 changed files with 8 additions and 1 deletions

View File

@@ -6,7 +6,7 @@
<!-- Extend Imap Service -->
<bean id="rm.imapService" abstract="true" class="org.alfresco.repo.imap.ExtendedImapServiceImpl">
<property name="dictionaryService" ref="DictionaryService"/>
<property name="authenticationUtil" ref="AuthenticationUtil"/>
<property name="authenticationUtil" ref="rm.authenticationUtil"/>
</bean>
<bean class="org.alfresco.util.BeanExtender">
<property name="beanName" value="imapService" />

View File

@@ -54,12 +54,19 @@ public class ExtendedImapServiceImpl extends ImapServiceImpl
this.dictionaryService = dictionaryService;
}
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
{
this.authenticationUtil = authenticationUtil;
}
@Override
public void setPolicyFilter(BehaviourFilter policyBehaviourFilter)
{
this.policyBehaviourFilter = policyBehaviourFilter;
super.setPolicyFilter(policyBehaviourFilter);
}
@Override
public void setNodeService(NodeService nodeService)
{
this.nodeService = nodeService;