How to modify my application?
Presentation
Your application only needs to read HTTP headers to get the connected user.Example
Perl
print "Connected user: ".$ENV{HTTP_AUTH_USER};
PHP
print "Connected user: ".$_SERVER{HTTP_AUTH_USER};
print "Connected user: ".$ENV{HTTP_AUTH_USER};
print "Connected user: ".$_SERVER{HTTP_AUTH_USER};