Nuxeo and PROXY_AUTH

David79_
Champ on-the-rise
Champ on-the-rise

Hi, I want to use Nuxeo with openam (access management solution). So i use PROXY_AUTH plugin. If i modify index.jsp and add out.print(request.getHeader("ssouser")), i can see my user id. But after redirection to nxstartup.faces, i have this message :

"If you can read this in your browser, this probably because of a configuration problem of your nuxeo.war/WEB-INF/pages.xml. To change this, edit the OSGI-INF/deployment-fragment.xml of your project at extension pages#PAGES."

This is my proxy-auth-config.xml

Trusting_LM SSOUSER @ BASIC_AUTH PROXY_AUTH

I don't know why nuxeo can get my http header attribute.

Thanks David

2 REPLIES 2

David79_
Champ on-the-rise
Champ on-the-rise

And my Nuxeo DEBUG File DEBUG [http-bio-0.0.0.0-8081-exec-13] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Exit Nuxeo Authentication filter

2014-02-03 22:32:15,600 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Entering Nuxeo Authentication Filter

2014-02-03 22:32:15,601 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Principal not found inside Request via getUserPrincipal

2014-02-03 22:32:15,601 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Try getting authentication from cache

2014-02-03 22:32:15,601 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Trying to retrieve userIdentification using plugin BASIC_AUTH

2014-02-03 22:32:15,601 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Trying to retrieve userIdentification using plugin PROXY_AUTH

2014-02-03 22:32:15,601 DEBUG [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] user/password not found in request, try into identity cache

2014-02-03 22:32:15,601 WARN [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] No auth plugin can be found to do the Login Prompt

2014-02-03 22:32:15,609 ERROR [http-bio-0.0.0.0-8081-exec-20] [org.nuxeo.ecm.webapp.helpers.StartupHelper] error while initializing the Seam context with a CoreSession instance:

David79_
Champ on-the-rise
Champ on-the-rise

Finally find a solution using frontal apache (mod_ajp) and openam web agent.