app/code/community/Adyen/Payment/Model/Authenticate.php
public function fixCgiHttpAuthentication()
    {
        // unsupported is $_SERVER['REMOfixCgiHttpAuthenticationTE_AUTHORIZATION']: as stated in manual :p

        // do nothing if values are already there
        if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) {
            return;
        } else {
            if (isset($_SERVER['REDIRECT_REMOTE_AUTHORIZATION']) && $_SERVER['REDIRECT_REMOTE_AUTHORIZATION'] != '') { //pcd note: no idea who sets this
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode($_SERVER['REDIRECT_REMOTE_AUTHORIZATION']), 2
                );
            } elseif (!empty($_SERVER['HTTP_AUTHORIZATION'])) { //pcd note: standard in magento?
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)), 2
                );
            } elseif (!empty($_SERVER['REMOTE_USER'])) { //pcd note: when cgi and .htaccess modrewrite patch is executed
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['REMOTE_USER'], 6)), 2
                );
            } elseif (!empty($_SERVER['REDIRECT_REMOTE_USER'])) { //pcd note: no idea who sets this
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['REDIRECT_REMOTE_USER'], 6)), 2
                );
            }
        }
    }
public function fixCgiHttpAuthentication()
    {
        // unsupported is $_SERVER['REMOfixCgiHttpAuthenticationTE_AUTHORIZATION']: as stated in manual :p

        // do nothing if values are already there
        if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) {
            return;
        } else {
            if (isset($_SERVER['REDIRECT_REMOTE_AUTHORIZATION']) && $_SERVER['REDIRECT_REMOTE_AUTHORIZATION'] != '') { //pcd note: no idea who sets this
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode($_SERVER['REDIRECT_REMOTE_AUTHORIZATION']), 2
                );
            } elseif (!empty($_SERVER['HTTP_AUTHORIZATION'])) { //pcd note: standard in magento?
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['HTTP_AUTHORIZATION'], 6)), 2
                );
            } elseif (!empty($_SERVER['REMOTE_USER'])) { //pcd note: when cgi and .htaccess modrewrite patch is executed
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['REMOTE_USER'], 6)), 2
                );
            } elseif (!empty($_SERVER['REDIRECT_REMOTE_USER'])) { //pcd note: no idea who sets this
                list($_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW']) = explode(
                    ':',
                    base64_decode(substr($_SERVER['REDIRECT_REMOTE_USER'], 6)), 2
                );
            }
        }
    }
public function fixCgiHttpAuthentication ( ) { // unsupported is $_SERVER['REMOfixCgiHttpAuthenticationTE_AUTHORIZATION']: as stated in manual :p // do nothing if values are already there if ( ! empty ( $ _SERVER [ 'PHP_AUTH_USER' ] ) && ! empty ( $ _SERVER [ 'PHP_AUTH_PW' ] ) ) { return ; } else { if ( isset ( $ _SERVER [ 'REDIRECT_REMOTE_AUTHORIZATION' ] ) && $ _SERVER [ 'REDIRECT_REMOTE_AUTHORIZATION' ] != '' ) { //pcd note: no idea who sets this list ( $ _SERVER [ 'PHP_AUTH_USER' ] , $ _SERVER [ 'PHP_AUTH_PW' ] ) = explode ( ':' , base64_decode ( $ _SERVER [ 'REDIRECT_REMOTE_AUTHORIZATION' ] ) , 2 ) ; } elseif ( ! empty ( $ _SERVER [ 'HTTP_AUTHORIZATION' ] ) ) { //pcd note: standard in magento? list ( $ _SERVER [ 'PHP_AUTH_USER' ] , $ _SERVER [ 'PHP_AUTH_PW' ] ) = explode ( ':' , base64_decode ( substr ( $ _SERVER [ 'HTTP_AUTHORIZATION' ] , 6 ) ) , 2 ) ; } elseif ( ! empty ( $ _SERVER [ 'REMOTE_USER' ] ) ) { //pcd note: when cgi and .htaccess modrewrite patch is executed list ( $ _SERVER [ 'PHP_AUTH_USER' ] , $ _SERVER [ 'PHP_AUTH_PW' ] ) = explode ( ':' , base64_decode ( substr ( $ _SERVER [ 'REMOTE_USER' ] , 6 ) ) , 2 ) ; } elseif ( ! empty ( $ _SERVER [ 'REDIRECT_REMOTE_USER' ] ) ) { //pcd note: no idea who sets this list ( $ _SERVER [ 'PHP_AUTH_USER' ] , $ _SERVER [ 'PHP_AUTH_PW' ] ) = explode ( ':' , base64_decode ( substr ( $ _SERVER [ 'REDIRECT_REMOTE_USER' ] , 6 ) ) , 2 ) ; } } }
Fix these global variables for the CGI if needed
Fix these global variables for the CGI if needed