Page 1 of 1

Form authentication: error 400

PostPosted:Fri Apr 03, 2009 9:10 am
by Joe
My problem concerns authentication on OpenKM using SSO forward by a Vulture reverse-proxy. My OpenKM server is behind a reverse-proxy which sends login and password to the authentication page of OpenKm (/OpenKM/j_security_check). The authentication succeeded but i am still on the authentication page. When i reload this page, i\'m now redirected to the home page of OpenKM (/OpenKM/es.git.openkm.frontend.Main/). Proves that the authentication was succeeded.

I want to go automatically to the home page when authentication succeed.

The capture done with Wireshark shows that there is a trouble: \"Etat HTTP 400 - Reference directe a la form de connexion (form login page) invalide\"

Can you help me???

Thanks a lot.

Joe

Re:Form authentication: error 400

PostPosted:Fri Apr 03, 2009 2:53 pm
by Joe
Any idea ?

Re:Form authentication: error 400

PostPosted:Fri Apr 03, 2009 4:30 pm
by jllort
On some forum post you can see how to running jboss under proxy. I remember be seeing something about it some months ago. There\'s some extra params to connect it well. try looking for \"proxy\" on forum if it solves this.

Re:Form authentication: error 400

PostPosted:Mon Apr 06, 2009 12:30 pm
by Joe
Hi jllort,

I\'ve looked for topics dealing with proxy on forum and I\'ve found this one:
http://www.openkm.com/Configuration/216 ... error.html

In fact, author occured the same error as me:
HTTP Status 400 - Invalid direct reference to form login page
Author explains that he succeeded to solve his problem thanks to this post:
http://www.openkm.com/Installation/235- ... -v2.0.html

But I\'m not sure that this applies in my case since OKM is hosted behind a reverse-proxy (i.e: it breaks the TCP session from the client to OKM, and creates one new) and not a classical proxy. Therefore, I don\'t think I need to set up proxy details to the JBoss comamnd (-Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx in run.conf file).

I\'m using OKM 3.0 community +JBoss bundle; so how to \"unstress\" jboss with this error message?

Thanks for your help.

Re:Form authentication: error 400

PostPosted:Mon Apr 06, 2009 1:56 pm
by jllort
Really it\'s not a OpenKM issue it\'s a Jboss configuration problem. I\'ve never configured as you\'re doing, I think this question might be posted on the jboss forum in attendace login issue configuration problem ( we\'re using normal form login autentication method ).

Re:Form authentication: error 400

PostPosted:Mon Apr 06, 2009 3:27 pm
by Joe
Ok!

I\'ll ask on the jboss forum how to solve my problem. Anyway, thank you very much for your help and good luck for OKM future.

Edit:
For info: here is my post on jboss forum. I\'m still waiting for support... I hope there is a solution otherwise OpenKM can\'t be integrated to my network infrastructure :(
My post on jboss forum