Bug 793821 (JBEPP-896) - Character encoding incorrect with SSO enabled
Summary: Character encoding incorrect with SSO enabled
Keywords:
Status: CLOSED NEXTRELEASE
Alias: JBEPP-896
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: Portal
Version: 5.1.0.GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.1.DEV01
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-19 11:13 UTC by Martin Weiler
Modified: 2012-02-28 16:32 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
EPP 5.1 CAS, JOSSO, OpenSSO integration as documented in http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Portal_Platform/5.0/html/Reference_Guide/sect-Reference_Guide-SSO_Single_Sign_On.html
Last Closed: 2011-04-20 11:39:41 UTC
Type: Bug


Attachments (Terms of Use)
JBEPP-896.patch (1.30 KB, text/x-patch)
2011-04-19 11:24 UTC, Martin Weiler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 793823 0 high CLOSED Upgrade SSO component to 1.0.2-epp-GA 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBEPP-896 0 Major Closed Character encoding incorrect with SSO enabled 2013-01-08 11:07:43 UTC

Internal Links: 793823

Description Martin Weiler 2011-04-19 11:13:13 UTC
Affects: Release Notes
Help Desk Ticket Reference: https://na7.salesforce.com/500A00000079kJi
Steps to Reproduce: 1. Setup EPP 5.1 with CAS/JOSSO/OpenSSO
2. Deploy the JSPHelloUser sample portlet
3. Try the sample with a Latin2 character
project_key: JBEPP

With SSO enabled, submitting a FORM with non-UTF-8 characters leads to garbled output when the values are returned. This is caused by the AbstractLogoutFilter, which reads the request parameters before setting the character encoding.

Comment 1 Martin Weiler 2011-04-19 11:13:14 UTC
Link: Added: This issue Cloned from JBEPP-387


Comment 2 Martin Weiler 2011-04-19 11:13:41 UTC
Link: Removed: This issue Cloned from JBEPP-387 


Comment 3 Martin Weiler 2011-04-19 11:18:01 UTC
Release Notes Docs Status: Removed: Documented as Resolved Issue Added: Not Yet Documented
Release Notes Text: Removed: CAS integration had issues with incorrect character encoding Added: SSO integration had issues with incorrect character encoding
Help Desk Ticket Reference: Removed: https://enterprise.redhat.com/issue-tracker/1030703 Added: https://na7.salesforce.com/500A00000079kJi
Steps to Reproduce: Removed: 1. Setup EPP 4.3 with CAS
2. Deploy the JSPHelloUser sample portlet
3. Try the sample with a Hindi character Added: 1. Setup EPP 5.1 with CAS/JOSSO/OpenSSO
2. Deploy the JSPHelloUser sample portlet
3. Try the sample with a Latin2 character


Comment 5 Martin Weiler 2011-04-19 11:24:14 UTC
Attachment: Added: JBEPP-896.patch


Comment 6 Thomas Heute 2011-04-20 11:29:16 UTC
Link: Added: This issue relates to JBEPP-898


Comment 7 Thomas Heute 2011-04-20 11:39:40 UTC
Patch applied in Product branch, 1.0 branch and trunk

Comment 8 Thomas Heute 2011-04-20 11:39:41 UTC
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Resolved Issue
Release Notes Text: Removed: SSO integration had issues with incorrect character encoding Added: SSO integration had issues with incorrect character encoding, the character encoding of the request is now specified.


Comment 9 Thomas Heute 2011-04-21 11:12:10 UTC
Affects: Added: [Release Notes]


Comment 10 Scott Mumford 2011-04-29 01:47:04 UTC
Release Notes Text: Removed: SSO integration had issues with incorrect character encoding, the character encoding of the request is now specified. Added: Cause: The Single Sign On (SSO) AbstractLogoutFilter in EPP would read request parameters before setting the character encoding. 
Consequence: When a form was submitted with non-UTF-8 characters (while SSO was enabled) the values could be garbled on output.
Fix: An upgrade of the SSO component to version 1.0.2-epp-GA (which includes a patch to the AbstractLogoutFilter code) resolves this issue.
Result: Non-UTF-8 characters are now specified correctly.


Comment 11 Scott Mumford 2011-05-04 04:16:41 UTC
Release Notes Text: Removed: Cause: The Single Sign On (SSO) AbstractLogoutFilter in EPP would read request parameters before setting the character encoding. 
Consequence: When a form was submitted with non-UTF-8 characters (while SSO was enabled) the values could be garbled on output.
Fix: An upgrade of the SSO component to version 1.0.2-epp-GA (which includes a patch to the AbstractLogoutFilter code) resolves this issue.
Result: Non-UTF-8 characters are now specified correctly. Added: The Single Sign On (SSO) AbstractLogoutFilter in JBoss Enterprise Portal Platform would read request parameters before setting the character encoding. When a form was submitted with non-UTF-8 characters (while SSO was enabled) the values could be garbled on output. An upgrade of the SSO component to version 1.0.2-epp-GA (which includes a patch to the AbstractLogoutFilter code) resolves this issue and Non-UTF-8 characters are now specified correctly.



Note You need to log in before you can comment on or make changes to this bug.