1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Using a bespoke authentication service

Discussion in 'Apache' started by ninjaboy224, Apr 17, 2020.

  1. #1
    Hi,
    I have an apache http server (httpd-2.4) which is configured for SSL Client Auth. At the moment I extract the username from SSL_CLIENT_S_DN and set a new request header containing the username which is forwarded to a backend application.

    What I would like to do is before the request is sent to the backend application, either call active directory or a bespoke service, either of which would return information about that user before populating the header(s) and forwarding the request to the original intended target application.

    I am not sure of this is possible. I can't seem to find a way of using mod_ssl and mod_authnz_ldap together. If I did use my own bespoke service/application to do the AD lookup, is Apache web server able to maintain state between the calls?
    SEMrush
    Any comments/advice greatly appreciated!
    Thanks
     
    ninjaboy224, Apr 17, 2020 IP
    SEMrush