Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008970Openbravo ERPA. Platformpublic2009-05-08 16:232011-10-28 18:18
klawandronic 
alostale 
normalmajoralways
closedout of date 
30Ubuntu 8.10
2.40 
pi 
Core
No
0008970: CAS authentication invalidates grid
Hi,

I posted this problem here because the SingleSignOn solution, thus the CAS integration, was developed for this project and because there's no dedicated project for CAS.

My problem is that after I followed your instructions here <http://wiki.openbravo.com/wiki/CAS_and_LAM_configuration_with_Openbravo%27s_users>, [^] even though the solution seems to work, I had problems with the grid. So, on each entity, you cannot access the grid tab(view): it doesn't display.

I don't know the real issue behind this behavior or if it's reproducible on your system or not, but I noticed the possible issue on one of our custom windows.

I'm a consultant from one of the business partners and we do major custom work; in this custom work we use another Ajax framework than the default Dojo so it was easy for me to notice the issue behind our not working windows.

To authenticate requests, CAS needs an URL parameter: ticket. You can see that in the browser's address bar after successfully logged into CAS-ified Openbravo.
So all the browser requests get that parameter and it's OK. Our Ajax calls on the other hand don't add that parameter to the URL and CAS rejects the request.

So, my question for you is: does the grid display when using the CAS authentication for SingleSignOn? If so, what may be the cause on our side if they do not display?

I checked the Ajax calls using Firebug and they don't have the ticket attached to the URL, thus CAS shouldn't authenticate them either, thus the non-displaying problem.

Thanks in advance for the fast reply,
Viorel
No tags attached.
Issue History
2009-05-08 16:23klawandronicNew Issue
2011-03-29 16:28dalsasuaProject@25@ => Openbravo ERP
2011-03-29 16:31dalsasuaModules => Core
2011-03-29 16:31dalsasuaAssigned To => alostale
2011-03-29 16:31dalsasuaCategoryGeneral => A. Platform
2011-03-29 16:32dalsasuaNote Added: 0035338
2011-03-29 16:32dalsasuaSeveritycritical => major
2011-04-11 10:29alostaleStatusnew => scheduled
2011-10-28 18:18dmitry_mezentsevNote Added: 0042284
2011-10-28 18:18dmitry_mezentsevStatusscheduled => closed
2011-10-28 18:18dmitry_mezentsevResolutionopen => out of date
2011-10-28 18:18dmitry_mezentsevFixed in Version => pi

Notes
(0035338)
dalsasua   
2011-03-29 16:32   
Reduced the severity, according to our reporting guidelines http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^]
(0042284)
dmitry_mezentsev   
2011-10-28 18:18   
We checked it with latest OB3 version and CAS module and it is working.

Seems like configuration problem.

Please re-open the issue if it is still valid for you on the latest OB version.


Thanks.