I am trying to upgrade our companys Ext-Plugin from version 6.2.5 CE to 7.2 CE.
We used to override the following classes in the old version: PortalImpl, CASFilter, AutoLoginFilter and several CMIS classes.
For PortalImpl I simply did another EXT (using the blade 'war-core-ext' template) and it works fine. But for the other classes there is no indication that the overridden classes get called. For example I tried overrwriting AutoLoginFilter (which also resides in Portal-Impl.jar and in my extImpl Folders in the Ext-Plugin), but does not seem to be calling getLoginRemoteUser() as evident by the lack of logs being called)
public class AutoLoginFilterExt extends AutoLoginFilter {
@Override
protected String getLoginRemoteUser(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, HttpSession session, String[] credentials) throws Exception {
_log.info("getLoginRemoteUser");
I also added this definition for my classes in ext-spring.xml
<bean class="com.liferay.portal.util.PortalImplExt"
id="com.liferay.portal.util.Portal"/>
<bean class="com.liferay.portal.servlet.filters.sso.cas.CASFilterExt"
id="com.liferay.portal.servlet.filters.sso.cas.CASFilterExt"/>
<bean class="com.liferay.portal.servlet.filters.autologin.AutoLoginFilterExt"
id="com.liferay.portal.servlet.filters.autologin.AutoLoginFilterExt"/>
Do i need to use a different approach, like a Service-Wrapper or a different template? If so, which one should i use? Would someone be so kind as to shove me in the right direction please?
Kind regards, Christopher