Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X EE
-
7.0.x
-
Committed
-
4
-
Security
Description
There are missing taglib declarations in JSPs.
Steps to reproduce:
- Deploy saml-addon-keep-alive-hook (if present) and saml-addon-keep-alive-web from ee-7.0.x liferay-portal-ee branch
- Go to SAML admin, configure as IdP
- Display IdP configuration tab
Expected result: Edit form contains Keep Alive section
Actual result: no section is displayed
Steps to verify it's working
- Deploy saml-addon-keep-alive-web from ee-7.0.x liferay-portal-ee branch
- Configure first portal as IdP
- Configure second portal as SP, Set Keep Alive URL: http://...IdPServer.../c/portal/saml/keep_alive
- Configure third portal as SP, Set Keep Alive URL: http://...IdPServer.../c/portal/saml/keep_alive
- Configure IdP server with both SPs, Set Keep Alive URL: http://...TheSPServer.../c/portal/saml/keep_alive
- Sign out everywhere
- Sign in everywhere again
- Go to any SP
- Open browser dev tools, network tab
- Refresh SP page and verify there is request to http://...IdPServer.../c/portal/saml/keep_alive?entityId=... and that response contains two document.write commands similar to
document.write('<img alt="" src="http\x26\x23x3a\x3b\x26\x23x2f\x3b\x26\x23x2f\x3balpha\x26\x23x2e\x3bcz\x26\x23x3a\x3b18080\x26\x23x2f\x3bc\x26\x23x2f\x3bportal\x26\x23x2f\x3bsaml\x26\x23x2f\x3bkeep_alive\x26\x23x3f\x3br\x26\x23x3d\x3bHXDxMDB3"/>'); document.write('<img alt="" src="http\x26\x23x3a\x3b\x26\x23x2f\x3b\x26\x23x2f\x3bbeta\x26\x23x2e\x3bcz\x26\x23x3a\x3b28080\x26\x23x2f\x3bc\x26\x23x2f\x3bportal\x26\x23x2f\x3bsaml\x26\x23x2f\x3bkeep_alive\x26\x23x3f\x3br\x26\x23x3d\x3bHXDxMDB3"/>');