[EMAIL PROTECTED] wrote:
vmassol 2003/06/22 02:11:03

Modified: documentation/docs/xdocs/writing howto_testcase_servlet.xml
Log:
Added documentation for the new setRemoteUser() simulation method
Revision Changes Path
1.5 +4 -0 jakarta-cactus/documentation/docs/xdocs/writing/howto_testcase_servlet.xml
Index: howto_testcase_servlet.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/writing/howto_testcase_servlet.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- howto_testcase_servlet.xml 18 Jan 2003 00:08:34 -0000 1.4
+++ howto_testcase_servlet.xml 22 Jun 2003 09:11:03 -0000 1.5
@@ -112,6 +112,10 @@
<code>setRemoteHostName()</code>: sets the remote Host name
that will be returned by <code>getRemoteHostName()</code>,
</li>
+ <li>
+ <code>setRemoteUser()</code>: sets the remote user name
+ that will be returned by <code>getRemoteUser()</code>.
+ </li>
</ul>
</section>

I hadn't added this to the docs and changelog yet, because I was still not completely sure about this change. I had committed in a rush without a lot of thought, and as you confirmed later in a private discussion, there was a reason that there was no way to simulate a remote user... namely that Cactus is for in-container testing and that the remote user name should be set via container-provided means: authentication.


I actually agree with this point of view now, and have held off from using the feature I added until now :-)

Thoughts?

-chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to