Plugin Directory

http-authentication

Opened 14 years ago

Closed 14 years ago

#1477 closed enhancement (fixed)

Support use of personal X509 certificates

Reported by: dwc's profile dwc's profile dwc Owned by: dwc's profile dwc's profile dwc
Priority: normal Severity: normal
Plugin: http-authentication Keywords:
Cc:

Description

From a user:

I use your HTTP authentication module in conjunction with personal X509 certificates for securing my site. To do this, I have altered it as follows:

       function check_remote_user() {
               $username = '';

               foreach (array('REMOTE_USER', 'REDIRECT_REMOTE_USER', 'SSL_CLIENT_S_DN_CN') as $key) {
                       if (isset($_SERVER[$key])) {
                               $username = $_SERVER[$key];
                       }
               }

It consists only of adding the SSL_CLIENT_S_DN_CN as one potential source for the identity. Is it something you could incorporate in future releases ?

Change History (1)

#1 @dwc
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [522706], no idea why the post-commit hook didn't fire.

Note: See TracTickets for help on using tickets.