[caboto] r552 committed - removed unused credentials methods

0 views
Skip to first unread message

codesite...@google.com

unread,
Jan 14, 2010, 1:06:08 PM1/14/10
to cabot...@googlegroups.com
Revision: 552
Author: mike.a.jones
Date: Thu Jan 14 10:03:25 2010
Log: removed unused credentials methods
http://code.google.com/p/caboto/source/detail?r=552

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

Reply all
Reply to author
Forward
0 new messages