Page 1 of 1

external web php (apache) authentication

PostPosted:Thu Jul 11, 2013 9:59 pm
by maxcus
We have a web application/portal deployed under apache (php and mysql). The user are autenticated (with username and password) via php and mysql (no apache module are used for authentication). After the login to the web portal, the user have to access to different web application including OpenKM . We would like that the authenticated user can access to OpenKM without insert again the authentication information. How apache/php can forward the authentication information to OpenKM?

Thanks
Massimo

Re: external web php (apache) authentication

PostPosted:Fri Jul 12, 2013 6:40 am
by dejanfc
You'll have to pass the authenticated user in header over the proxy-ajp module in apache (if your portal is on another server you'll have to tell the Tomcat to listen for ajp connections from that ip) and adjust the Spring Security config in OpenKM for preauth mode.

Re: external web php (apache) authentication

PostPosted:Tue Jul 16, 2013 7:29 am
by jllort
That's seems to be needed some CAS ( Centralized Authentication Security ) like for example this http://www.jasig.org/

Re: external web php (apache) authentication

PostPosted:Fri Sep 27, 2013 7:55 pm
by michaeled
I post an example to how configure OpenKM to do that with a CAS Server here :
http://forum.openkm.com/viewtopic.php?t=10711

Re: external web php (apache) authentication

PostPosted:Sun Sep 29, 2013 7:54 am
by jllort
Great work michaeled. We will extend wiki documentation about it.