Files
Mozilla/mozilla/java
edburns%acm.org a014aefe38 This fix adds basic authentication capability to webclient.
public interface Prompt

 * The custom app must implement this interface in order to supply the
 * underlying browser with basic authentication behavior.  The custom
 * app must tell webclient about its Prompt implementation by calling
 * Navigation.setPrompt().  This must be done FOR EACH BrowserControl
 * instance!

public void setPrompt(Prompt yourPrompt);

 * Gives this Navigation instance the ability to call back the custom
 * app when a site with basic authentication is encountered.  The custom
 * app can choose to put up appropriate modal UI.

Please note that due to bug
http://bugzilla.mozilla.org/show_bug.cgi?id=61669 you must disable the
cache to have this work.  Put these lines in your prefs file:

user_pref("browser.cache.disk_cache_size", 0);
user_pref("browser.cache.enabled", false);

The following files are in this fix:

M classes_spec/org/mozilla/webclient/Navigation.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
A classes_spec/org/mozilla/webclient/test/PasswordDialog.java
M classes_spec/org/mozilla/webclient/wrapper_native/NavigationImpl.java
M src_moz/CBrowserContainer.cpp
M src_moz/CBrowserContainer.h
M src_moz/NavigationImpl.cpp
M src_moz/wcIBrowserContainer.h
M src_moz/motif/NativeLoaderStub.cpp
M src_share/jni_util.cpp
M src_share/jni_util.h
M src_share/jni_util_export.cpp
M src_share/jni_util_export.h
A classes_spec/org/mozilla/webclient/Prompt.java


git-svn-id: svn://10.0.0.236/branches/JAVADEV_RTM_20001102@83172 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:33:52 +00:00
..
2000-11-28 01:36:59 +00:00
2000-11-21 17:44:04 +00:00
2000-11-30 00:56:18 +00:00
2000-11-28 01:35:55 +00:00
2000-11-23 00:09:08 +00:00
2000-08-03 21:32:54 +00:00
2000-06-04 22:16:36 +00:00

Here lies the code that comprises the java enhancers to mozilla.

Authors: see the README files for each individual subdirectory

Requirements:

* JDK1.2 or greater (may work with lower versions, haven't checked).

* Successfully built MOZ_DEBUG=1 Mozilla M13 tree.

* Perl 5 perl.exe must be in your path

How To Build:

* make it so the directory in which this file resides is a child of your
  top level Mozilla M13 directory

* make sure the environment var JDKHOME is set to your jdk installation
  directory, ie SET JDKHOME=C:\jdk1.2.2

* type "nmake /f makefile.win all" and hope for the best

* this should compile the clasess into %MOZ_SRC%\dist\classes

Problems:

* clobber_all doesn't remove the .class files from dist\classes.  You
  have to do this manually.

* post to netscape.public.mozilla.java newsgroup

General notes:

* Please update the ChangeLog (changelo) files in the subdirectories when
  you make changes.