cq5 - CQ Basic Authentication -



cq5 - CQ Basic Authentication -

i have requirement implement basic authentication @ dispatcher side

i have below basic auth configuration in virtual host(www.abc.com) configuration file.

<location /content/abc/jp-jp > authtype basic authname "private area" authbasicprovider file authuserfile /opt/cq/www/htdocs/password(this name of file, contains uname , password) require valid-user </location>

when seek access www.abc.com/jp-jp getting basic auth prompt , authenticated succefully password file(username , password file ) located under /opt/cq/www/htdocs . after first prompt validated username , password , sec prompt displaying requires username , password .the server says (sling development). if disable basic authentication in apache sling authentication service of publish instance ..then it's redirecting me right page expected ..but unable publish contents author(blocked within replication agent queue). enabled back..but basic authentication blocked server says (sling development).

i sure hard understand trying here ..but thought how pass prompt of "the server says (sling development)" dispatcher level basic auth. help appreciated!!!

let me paraphrase description: have setup http basic auth on apache level , works fine, credentials entered in browser sent not apache cq. cq treats credentials own username , password , returns error. disabling http basic authentication handler authenticator not option, it's used replication process.

in order create apache http basic , cq publish coexists, can remove authorization header (used in http basic auth) on apache, using mod_headers module , requestheader directive. enable mod_headers , place next line in virtualhost configuration:

requestheader unset authorization

apache utilize header authenticate request, it'll removed , cq won't it.

cq5

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -