If you have Servlet Filter Hooks ready to be upgraded, this tutorial’s for you. The process is quite simple:
Adapt your code to Liferay DXP 7.0’s API using the Liferay Upgrade Planner. When you ran the planner’s Fix Upgrade Problems step, many of the existing issues were autocorrected or flagged. For any remaining errors, consult the Resolving a Plugin’s Dependencies article.
Deploy the plugin.
Liferay DXP’s Plugin Compatibility Layer converts the plugin WAR to a Web Application Bundle (WAB) and installs it to Liferay’s OSGi Runtime.
Your Servlet Filter is running on Liferay DXP 7.0!