Modified:
/trunk/Caboto/caboto/src/test/java/org/caboto/rest/resources/AbstractResourceTest.java
=======================================
---
/trunk/Caboto/caboto/src/test/java/org/caboto/rest/resources/AbstractResourceTest.java
Tue Oct 14 07:21:33 2008
+++
/trunk/Caboto/caboto/src/test/java/org/caboto/rest/resources/AbstractResourceTest.java
Thu Jan 14 10:03:25 2010
@@ -268,19 +268,6 @@
}
- // ---------- Handling credentials in the client
-
- void setCredentials(final String username, final String password) {
- Authenticator.setDefault(new Authenticator() {
- protected PasswordAuthentication getPasswordAuthentication() {
- return new PasswordAuthentication(username,
password.toCharArray());
- }
- });
- }
-
- void clearCredentials() {
- Authenticator.setDefault(null);
- }
// ---------- Jetty server configuration