Authentification SOAP Requests
Hello,
I use SOAP to get and update sessions :
My apache configuration :
<Location /index.pl/adminSessions> AuthType Basic AuthName "Protected Area" AuthUserFile /etc/htpasswd/portal
<RequireAll>
Require ip X.X.X.X/26
Require user XXXX
</RequireAll>
I do the same for /index.pl/sessions and /index.pl/config
My application seems to work fine but the problem is there are twice SOAP requests each time, the first without credential (with 401 code), and the second with credential (with 200 code):
X.X.X.X - - [09/Mar/2016:16:23:31 +0100] "POST /index.pl/adminSessions HTTP/1.1" 401 381 "-" "SOAP::Lite/Perl/1.1" X.X.X.X - lemonldap [09/Mar/2016:16:23:31 +0100] "POST /index.pl/adminSessions HTTP/1.1" 200 499 "-" "SOAP::Lite/Perl/1.1"
X.X.X.X - - [09/Mar/2016:16:23:37 +0100] "POST /index.pl/adminSessions HTTP/1.1" 401 381 "-" "SOAP::Lite/Perl/1.1" X.X.X.X - lemonldap [09/Mar/2016:16:23:37 +0100] "POST /index.pl/adminSessions HTTP/1.1" 200 15153 "-" "SOAP::Lite/Perl/1.1"
Regards