HTTP 401.3 because java.net.Authenticator not invoked

J

JohnG

I am having a problem connecting to a URL and reading from it.
From Web Browser
----------------
If I navigate to the URL using Mozilla Firefox, I am prompted for login
details which when supplied succeeds in displaying the page.
From Code
---------
When I run from code, I get a

HTTP 401.3 - Access denied by ACL on resource
Internet Information Services

I am using my implementation of the java.net.Authenticator class.
When I add tracing to this class I can see that it is not being called
at runtime to get the login details.

Config
------
The problematic deployment is on a customer site and details are not
entirely clear but it's

Server 1
IIS v5 with anonymous authentication (& Windows integrated).
NTFS file permission restrictions on url.

Server 2
My app

Using a local test harness, the code works fine. If I place an NTFS
file permission restriction on the test file being accessed, the
authenticator is accessed to request login details.

My code is being deployed to a customers server however and within this
environment it doesn't work (as described above).

I don't have a lot of access to the server so I'm wondering what could
be causing the access problem from code outside of IIS settings (which
are the same as my local settings) and NTFS File permissions (which I
know I can bypass by logging in (i.e. I've done this through the web
browser).

Any assistence would be greatfully appreciated.
Regards
JohnG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top