
|
If you were logged in you would be able to see more operations.
|
|
Sesame
Created: 29/Mar/10 05:45 PM
Updated: 12/Apr/10 02:41 PM
|
|
| Component/s: |
Console
|
| Affects Version/s: |
2.3.1
|
| Fix Version/s: |
2.3.2
|
|
SES-695 brings a nice improvement but it still doesn't work as expected. Below is a simple patch that should resolve the problem.
Index: src/main/java/org/openrdf/console/Console.java
===================================================================
--- src/main/java/org/openrdf/console/Console.java (revision 10242)
+++ src/main/java/org/openrdf/console/Console.java (working copy)
@@ -524,7 +524,9 @@
// Ping the server
httpClient.getServerProtocol();
- return installNewManager(new RemoteRepositoryManager(url), url);
+ RemoteRepositoryManager manager = new RemoteRepositoryManager(url);
+ manager.setUsernameAndPassword(user, pass);
+ return installNewManager(manager, url);
}
catch (UnauthorizedException e) {
if (user != null && pass != null) {
|
|
Patch applied with some modification for handilng <null> passwords. Please test.
|
|