Can setting login.events.post = com.custom.LoginPostAction in portal-ext.properties work i tried this way in liferay 7, its not working. How can we trigger the login post events in liferay 7.
liferay-hook.xml
<hook> <portal-properties>portal.properties</portal-properties> </hook>
portal.properties
login.events.post=com.test.action.LoginPostAction
I'm getting the below exception
Unable to load com.test.action.LoginPostAction with the portal class loader or the current context class loader java.lang.ClassNotFoundException: com.test.action.LoginPostAction from [Module "deployment.ROOT.war" from Service Module Loader] at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)