stas 2005/05/16 14:27:32
Modified: Apache Apache.pm Log: $c->user is deprecated, $r->user should be used instead Submitted by: Ville Skyttä <[EMAIL PROTECTED]> Revision Changes Path 1.77 +9 -5 modperl/Apache/Apache.pm Index: Apache.pm =================================================================== RCS file: /home/cvs/modperl/Apache/Apache.pm,v retrieving revision 1.76 retrieving revision 1.77 diff -u -u -r1.76 -r1.77 --- Apache.pm 22 Jul 2004 19:56:26 -0000 1.76 +++ Apache.pm 16 May 2005 21:27:32 -0000 1.77 @@ -467,6 +467,12 @@ remote system is not running an RFC 1413 server or if the configuration directive B<IdentityCheck> is not turned on. +=item $r-E<gt>user( [$user] ) + +If an authentication check was successful, the authentication handler +caches the user name here. Sets the user name to the optional first +argument. + =back More information about the client can be obtained from the @@ -554,14 +560,12 @@ =item $c-E<gt>user( [$user] ) -If an authentication check was successful, the authentication handler -caches the user name here. Sets the user name to the optional first -argument. +Deprecated, use C<$r-E<gt>user> instead. =item $c-E<gt>auth_type -Returns the authentication scheme that successfully authenticate -C<$c-E<gt>user>, if any. +Returns the authentication scheme used to successfully authenticate +C<$r-E<gt>user>, if any. =item $c-E<gt>aborted