I have an RSS feed on our Sharepoint server. When I open this feed through a browser, such as Opera, that does not do integrated Windows authentication, I get challenged, type in my credentials and I get in. When using IE, no challenge. So far so good.
My expectation was that when opening the same url through Java I would have to supply an Authenticator subclass, and that this subclass would be enough to handle any challenge. So I did, but I don't get a challenge, or at any rate, none that my Authenticator responds to:
The getPasswordAuthentication() method is never called. Instead, it just goes right in and reads the feed, calls my handler and so on. Can anyone explain why this would be?
You might wonder why I would care about not being challenged if it works anyway. The answer is that this is just when I try it at the command line. When I try it in my IDE I still don't get challenged, but then I get a FileNotFoundException. So I'm first trying to figure out why I'm not getting a challenge.
Costs matter. Justice lies in processes not outcomes. Crime is caused by criminals.
Integrated Windows authentication? I believe that Java has the ability to deal with that, at least as long as the Java code itself is running on a Windows machine. Perhaps that's why your code doesn't have to deal with it.
subject: Expected to be challenged at this url, but was not