We created ServeltFilter for our own 2FA certification. So I’m catching the Url pattern, but there’s no problem with the general pattern.
However login.jsp?os_destination=‘path to be moved’
If you go into the url above… Servlet Filter does not work with login.jsp pattern.
============================================
ServletFilter Pattern
<servlet-filter name="loginPath-check-filter" i18n-name-key="loginPath-check-filter.name"
key="loginPath-check-filter" class="......servlet.filter.LoginPathCheckFilter"
location="before-decoration" weight="13">
<description key="loginPath-check-filter.description">The login-path-check filter plugin</description>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<url-pattern>/login.jsp</url-pattern>
<url-pattern>/rest/gadget/1.0/login</url-pattern>
<url-pattern></url-pattern>
</servlet-filter>
============================================