ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1226) Single sign on conflict with IvyAuthonticator
Date Thu, 09 Sep 2010 13:08:32 GMT
Single sign on conflict with IvyAuthonticator
---------------------------------------------

                 Key: IVY-1226
                 URL: https://issues.apache.org/jira/browse/IVY-1226
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0
         Environment: Linux / Windows
            Reporter: Alexey Kuznetsov


For all http reqeuests ivy uses IvyAuthanticator class to catch all authancation requests.

That is correct until system is specialy configured to have single sign on feature. I got
this error on my Debian sqeeuze box, and other users report about windows machines.

Here some forum links:

"In fact, if you are running on a Windows machine as a domain user, or, you are running on
a Linux or Solaris machine that has already issued the kinit command and got the credential
cache. The class MyAuthenticator will be completely ignored, and the output will be simply"

http://download-llnw.oracle.com/javase/6/docs/technotes/guides/net/http-auth.html

"Hey, did you figure out that why getPasswordAuthentication does not get called on Unix? I'm
facing same issue. I have observed that MyAuthenticator::getPasswordAuthentication() is getting
called on my windows workstation but not on UNIX. any help would highly be appreciated!! "

http://www.coderanch.com/t/470838/Linux-UNIX/NTLM-url-access-through-java

Probaby using credentials in settings file is not so good idea, or better to switch to Java
Network security package instead Authonticator.

SSLContext sc = SSLContext.getInstance("SSL");
sc.init(keyManager, trustManager, new SecureRandom());
this.oldFactory = HttpsURLConnection.getDefaultSSLSocketFactory();
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());

I'm still under development on this issue, but maybe you can help me and i get it faster.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message