J
JohnG
I am having a problem connecting to a URL and reading from it.
If I navigate to the URL using Mozilla Firefox, I am prompted for login
details which when supplied succeeds in displaying the page.
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
----------------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