[
https://jira.jboss.org/jira/browse/GTNPORTAL-997?page=com.atlassian.jira....
]
Sohil Shah resolved GTNPORTAL-997.
----------------------------------
Resolution: Done
Assignee: (was: Sohil Shah)
Usage Instructions:
For all frameworks do this:
Update the 'Sign In' link on
web.war/groovy/groovy/webui/component/UIBannerPortlet.gtml as:
<!--
<a class="Login"
onclick="$signInAction"><%=_ctx.appRes("UILoginForm.label.Signin")%></a>
-->
<a class="Login"
href="/portal/sso"><%=_ctx.appRes("UILoginForm.label.Signin")%></a>
Update the 'Sign In' link on
web.war/groovy/portal/webui/component/UILogoPortlet.gtmpl as :
<!--
<a
onclick="$signInAction"><%=_ctx.appRes("UILogoPortlet.action.signin")%></a>
-->
<a
href="/portal/sso"><%=_ctx.appRes("UILogoPortlet.action.signin")%></a>
For CAS:
Update portal.war/WEB-INF/web.xml:
<filter>
<filter-name>LoginRedirectFilter</filter-name>
<filter-class>org.gatein.sso.agent.filter.LoginRedirectFilter</filter-class>
<init-param>
<!-- This should point to your SSO authentication server -->
<param-name>LOGIN_URL</param-name>
<param-value>http://localhost:8888/cas/login?service=http://localhost:8080/portal/private/classic</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>LoginRedirectFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
For JOSSO:
<filter>
<filter-name>LoginRedirectFilter</filter-name>
<filter-class>org.gatein.sso.agent.filter.LoginRedirectFilter</filter-class>
<init-param>
<!-- This should point to your SSO authentication server -->
<param-name>LOGIN_URL</param-name>
<param-value>http://localhost:8888/josso/signon/login.do?josso_back_to=http://localhost:8080/portal/private/classic</param-value>
</init-param>
</filter>
<filter>
<filter-name>JOSSOLogoutFilter</filter-name>
<filter-class>org.gatein.sso.agent.filter.JOSSOLogoutFilter</filter-class>
<init-param>
<!-- This should point to your JOSSO authentication server -->
<param-name>LOGOUT_URL</param-name>
<param-value>http://localhost:8888/josso/signon/logout.do</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>LoginRedirectFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>JOSSOLogoutFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
For OpenSSO:
<filter>
<filter-name>LoginRedirectFilter</filter-name>
<filter-class>org.gatein.sso.agent.filter.LoginRedirectFilter</filter-class>
<init-param>
<!-- This should point to your SSO authentication server -->
<param-name>LOGIN_URL</param-name>
<param-value>http://localhost:8888/opensso/UI/Login?realm=gatein&goto=http://localhost:8080/portal/private/classic</param-value>
</init-param>
</filter>
<filter>
<filter-name>OpenSSOLogoutFilter</filter-name>
<filter-class>org.gatein.sso.agent.filter.OpenSSOLogoutFilter</filter-class>
<init-param>
<!-- This should point to your OpenSSO authentication server -->
<param-name>LOGOUT_URL</param-name>
<param-value>http://localhost:8888/opensso/UI/Logout</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>LoginRedirectFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>OpenSSOLogoutFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
SSO integration: after click to "Sign in" is shown dialog
(UILoginForm.gtmpl) and SSO console a while after it
--------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-997
URL:
https://jira.jboss.org/jira/browse/GTNPORTAL-997
Project: GateIn Portal
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 3.0.0-GA
Environment: GateIn-3.0.0-GA+JBoss 5.1.0 bundle,
integration with CAS, JOSSO, OpenSSO due to instructions from reference guide,
Reporter: Marek Posolda
Priority: Minor
I have GateIn integrated with any SSO framework according to instructions in reference
guide. So in UILoginForm.gtmpl I have only "script" element replaced at the end
as is mentioned here.
After click to "Sign in" link in GateIn, I can see the default GateIn login
dialog (UILoginForm.gtmpl) and then I am redirected to SSO framework console after some
time (1-3 seconds). So user can see GateIn dialog but then he is redirected to SSO console
after a while.
Maybe this is only detail, but I doesn't like this "feature" and it seems
to be little user unfriendly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira