Hide Forgot
project_key: JBEPP LoginRedirectFilter only detects login redirection for a hardcoded URL context "/portal/sso". This makes it not to work properly with other non-default portal containers, for example "ecmdemo" which is shipped with the SitePublisher extension. Project: org.gatein.sso:sso-agent Class: org.gatein.sso.agent.filter.LoginRedirectFilter ... private boolean isLoginInProgress(HttpServletRequest request) { String action = request.getRequestURI(); if (action != null && action.equals("/portal/sso")) { return true; } return false; } ...
I'd suggest either a) adding a new init-param for the LoginRedirectFilter which would customize request URI, or b) detecting the current portal container's context (which possibly could be done via the AbstractFilter.getContainer() method)
I'm attaching a patched LoginRedirectFilter which implements option b) from the above comment and redirects logins from "/${portalContainerName}/sso" depending on the current portal container.
Attachment: Added: LoginRedirectFilter.java
Labels: Removed: LoginRedirectFilter sso-agent Added: LoginRedirectFilter OpenSSO SSO SitePublisher sso-agent
Release Notes Text: Added: Fixed in SSO 1.1.0-GA by commit rev. 7960 . Instead of "/portal/sso", we are using request.getContextPath() + "/sso" right now.
Moved comment from RN Text field: Fixed in SSO 1.1.0-GA by commit rev. 7960 . Instead of "/portal/sso", we are using request.getContextPath() + "/sso" right now.
Release Notes Docs Status: Added: Not Required Release Notes Text: Removed: Fixed in SSO 1.1.0-GA by commit rev. 7960 . Instead of "/portal/sso", we are using request.getContextPath() + "/sso" right now.