RAMSession Exception - Credentials cannot be supplied for NTLM Authentication
![]() I'm trying to create a RAM Session object from a Java client program using the following code: RAMSession mySession = new RAMSession(https://server.com/ram.ws, "MyUserName", "MyPassword"); and I'm getting the following exception: - Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials I can type the URL https://server.com/ram.ws into a browser and get to the my RAM home page and can log in with the credentials "MyUserName" and "MyPassword". If I don't supply the username and password, the RAMSession object gets created, but no results are returned when I call functions to get all of the communities associated with the repository, even though it contains multiple communities. |
One answer
![]()
RAM doesn't support NTLM authentication on the client side. The client doesn't handle the necessary handshaking for NTLM.
There is an enhancement for this, but there is no planned date for it. Look into support for NTLM authentication on Eclipse client side (40606) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.