1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
9 /** essentially a partial function from username/password/protocol to root mailbox */
10 public interface Login {
12 public Account anonymous();
13 public Account login(String user, String pass);
14 public Object login(String user, String pass, Class protocol);