[JBoss JIRA] Created: (GTNPORTAL-1767) The sso mecanism doesn't work
by houssem njah (JIRA)
The sso mecanism doesn't work
-----------------------------
Key: GTNPORTAL-1767
URL: https://issues.jboss.org/browse/GTNPORTAL-1767
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Documentation
Affects Versions: 3.1.0-GA
Environment: tomcat
Reporter: houssem njah
Assignee: Luc Texier
Priority: Critical
Hi,
when we follow the documentation to use gatein with CAS, we can success to let these two server work
the documentation is done using CAS on HTTP mode, with this mode we can login to gatein but, the sso mechanism doesn't work.
In fact, when we use other application that use the same CAS server, we doesn't need to see the login screen delivered by CAS, we need to be already connected to those applications.
the same case is true: if i' m connected to another application, i' m not connected to gatein.
So, i try to use CAS on HTTPS mode, and everything work well, i login to one application and no more need to login to other application.
In the documentation, we need to add that we need to use CAS on HTTPS mode.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] Created: (GTNPORTAL-1775) Bad handling of special characters by portal ResourceBundle
by Marek Posolda (JIRA)
Bad handling of special characters by portal ResourceBundle
-----------------------------------------------------------
Key: GTNPORTAL-1775
URL: https://issues.jboss.org/browse/GTNPORTAL-1775
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.1.0-GA
Environment: GateIn trunk rev 5668 , GateIn common librayr version: common-common-2.0.3-GA
Reporter: Marek Posolda
It seems that properties file are not handled correctly by GateIn portal. For example this property:
prefix.key=Hello, This character will not be escaped in portlet \:
is read by portal ResourceBundle implementation ( org.gatein.common.i18n.ParentChildResourceBundle ) as "Hello, This character will not be escaped in portlet \:" . But special characters like ":" should be escaped and first "\" should be ignored by ResourceBundle.
In javadoc to Properties class http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#st... can be seen: The key and element characters #, !, =, and : are written with a preceding backslash to ensure that they are properly loaded.
And some editors like JBoss Tools Property Editor are saving special characters with backslash and this backslash is now incorrectly read by portal and shown in portlets.
I am attaching example portlet application, which can be used to simulate the issue. Sources are attached as well.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months