[JBoss JIRA] (GTNCOMMON-24) FastURLDecoder cannot decode surrogate pair characters
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNCOMMON-24?page=com.atlassian.jira.plug... ]
RH Bugzilla Integration updated GTNCOMMON-24:
---------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1105521
> FastURLDecoder cannot decode surrogate pair characters
> ------------------------------------------------------
>
> Key: GTNCOMMON-24
> URL: https://issues.jboss.org/browse/GTNCOMMON-24
> Project: GateIn Common
> Issue Type: Bug
> Reporter: Takayuki Konishi
> Attachments: surrogatepairtest.patch
>
>
> FastURLDecoder cannot decode surrogate pair characters.
> When I decoded [U+20000B|http://www.fileformat.info/info/unicode/char/2000B/index.htm], I got MalformedInputException:
> {code}
> org.gatein.common.text.MalformedInputException: Cannot decode char 'A0'
> at org.gatein.common.text.FastURLDecoder.safeEncode(FastURLDecoder.java:217)
> at org.gatein.common.text.AbstractCharEncoder.encode(AbstractCharEncoder.java:45)
> at org.gatein.common.text.AbstractCharEncoder.encode(AbstractCharEncoder.java:62)
> at org.gatein.common.text.FastURLDecoderTestCase.testEncodeSurrogatePair(FastURLDecoderTestCase.java:159)
> {code}
> I also attach a patch for testcase.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3486) Redirect to /sso instead of /login when SSO is enabled
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3486?focusedWorklogId=12431305&... ]
Trong Tran logged work on GTNPORTAL-3486:
-----------------------------------------
Author: Trong Tran
Created on: 06/Jun/14 6:15 AM
Start Date: 06/Jun/14 6:15 AM
Worklog Time Spent: 4 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 4 hours)
Time Spent: 4 hours
Worklog Id: (was: 12431305)
> Redirect to /sso instead of /login when SSO is enabled
> ------------------------------------------------------
>
> Key: GTNPORTAL-3486
> URL: https://issues.jboss.org/browse/GTNPORTAL-3486
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Tuyen Nguyen The
> Assignee: Trong Tran
> Fix For: 3.5.11.Final, 3.7.2.Final, 3.9.0.Final
>
> Original Estimate: 4 hours
> Time Spent: 4 hours
> Remaining Estimate: 0 minutes
>
> When i configure SPNEGO SSO for Gatein,
> It work ok when i login with "login" link at top navigation bar. But when i try to access to page that rerquire login, (for example http://server.local.network:8080/portal/g/:platform:administrators/admini...), it will redirect to /login and i will not be logged in automatically with SPNEGO because spnego only work when it redirect to /dologin
> I think when SSO is enabled, we should redirect to /sso instead of /login when user try to access page that require login, then SSO will redirect to loginURL which was configured.
> It's similar that we change link of "login" at top navigation bar to /sso when SSO is enabled.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3486) Redirect to /sso instead of /login when SSO is enabled
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3486?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3486:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Redirect to /sso instead of /login when SSO is enabled
> ------------------------------------------------------
>
> Key: GTNPORTAL-3486
> URL: https://issues.jboss.org/browse/GTNPORTAL-3486
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Tuyen Nguyen The
> Assignee: Trong Tran
> Fix For: 3.5.11.Final, 3.7.2.Final, 3.9.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When i configure SPNEGO SSO for Gatein,
> It work ok when i login with "login" link at top navigation bar. But when i try to access to page that rerquire login, (for example http://server.local.network:8080/portal/g/:platform:administrators/admini...), it will redirect to /login and i will not be logged in automatically with SPNEGO because spnego only work when it redirect to /dologin
> I think when SSO is enabled, we should redirect to /sso instead of /login when user try to access page that require login, then SSO will redirect to loginURL which was configured.
> It's similar that we change link of "login" at top navigation bar to /sso when SSO is enabled.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
by Tran Trung Thanh (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3499?page=com.atlassian.jira.pl... ]
Tran Trung Thanh updated GTNPORTAL-3499:
----------------------------------------
Summary: Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol (was: Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocal)
> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocol
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3499
> URL: https://issues.jboss.org/browse/GTNPORTAL-3499
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Tran Trung Thanh
> Assignee: Tuyen Nguyen The
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.S...
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/jo...
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/..."}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3491) [Gadget] Hard-coded English labels in Title and Field Name
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3491?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The updated GTNPORTAL-3491:
----------------------------------------
Status: Pull Request Sent (was: Coding In Progress)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/874
> [Gadget] Hard-coded English labels in Title and Field Name
> ----------------------------------------------------------
>
> Key: GTNPORTAL-3491
> URL: https://issues.jboss.org/browse/GTNPORTAL-3491
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Internationalization and Localization
> Affects Versions: 3.5.10.Final, 3.7.1.Final
> Reporter: H. Trang Vu
> Assignee: Tuyen Nguyen The
> Attachments: VI-Title-FieldName.png
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Steps to reproduce:
> * Login as root
> * Go to Application Registry, add *Services Management* gadget into a category
> * Switch to Vietnamese
> * Open Dashboard
> * Add *Services Management* gadget
> * The gadget title is always in English
> * Click pencil icon to edit gadget setting
> ** "Services URL" is always in English
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocal
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3499?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-3499 started by Tuyen Nguyen The.
> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocal
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3499
> URL: https://issues.jboss.org/browse/GTNPORTAL-3499
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Tran Trung Thanh
> Assignee: Tuyen Nguyen The
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.S...
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/jo...
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/..."}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3499) Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocal
by Tuyen Nguyen The (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3499?page=com.atlassian.jira.pl... ]
Tuyen Nguyen The reassigned GTNPORTAL-3499:
-------------------------------------------
Assignee: Tuyen Nguyen The
> Result of Rest API contains original host when Gatein runs behind apache server via HTTP protocal
> -------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3499
> URL: https://issues.jboss.org/browse/GTNPORTAL-3499
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.9.Final
> Reporter: Tran Trung Thanh
> Assignee: Tuyen Nguyen The
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> - Configure eXo Platform with apache 2 via HTTP protocol by following
> http://docs.exoplatform.com/public/topic/PLF40/PLFAdminGuide.Deployment.S...
> - Start Gatein server at localhost:8080
> - Access Gatein service by using address of apache for example example.localhost
> - Login as john
> - Call REST API: http://example.localhost/rest/private/managed-components/mop/usersites/jo...
> -> The result contains the original host
> {noformat}
> {"description":"List of child pages for page 'Tab_Default'","children":[],"operations":[{"operation-name":"read-resource","operation-description":"Lists available pages at a specified address.","link":{"rel":"self","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/..."}},{"operation-name":"read-config-as-xml","operation-description":"Reads pages as configuration xml at a specified address.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/xml"}},{"operation-name":"export-resource","operation-description":"Exports pages configuration xml as a zip file.","link":{"rel":"content","href":"http://localhost:8080/rest/private/managed-components/mop/usersites/john/...","type":"application/zip","method":"get"}}]}
> {noformat}
> Note that: No problem when configuring apache front-end with ajp.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months
[JBoss JIRA] (GTNPORTAL-3486) Redirect to /sso instead of /login when SSO is enabled
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3486?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3486:
----------------------------------
Fix Version/s: 3.5.11.Final
3.7.2.Final
3.9.0.Final
> Redirect to /sso instead of /login when SSO is enabled
> ------------------------------------------------------
>
> Key: GTNPORTAL-3486
> URL: https://issues.jboss.org/browse/GTNPORTAL-3486
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Tuyen Nguyen The
> Assignee: Trong Tran
> Fix For: 3.5.11.Final, 3.7.2.Final, 3.9.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When i configure SPNEGO SSO for Gatein,
> It work ok when i login with "login" link at top navigation bar. But when i try to access to page that rerquire login, (for example http://server.local.network:8080/portal/g/:platform:administrators/admini...), it will redirect to /login and i will not be logged in automatically with SPNEGO because spnego only work when it redirect to /dologin
> I think when SSO is enabled, we should redirect to /sso instead of /login when user try to access page that require login, then SSO will redirect to loginURL which was configured.
> It's similar that we change link of "login" at top navigation bar to /sso when SSO is enabled.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 5 months