James Moger
2011-05-19 00afd77a2182ece3d9522d41b86b4ddd7e132288
src/com/gitblit/ILoginService.java
@@ -1,10 +1,29 @@
package com.gitblit;
import com.gitblit.wicket.User;
import java.util.List;
import com.gitblit.wicket.models.UserModel;
public interface ILoginService {
   User authenticate(String username, char[] password);
   UserModel authenticate(String username, char[] password);
   User authenticate(char[] cookie);
   UserModel authenticate(char[] cookie);
   UserModel getUserModel(String username);
   boolean updateUserModel(UserModel model);
   boolean deleteUserModel(UserModel model);
   List<String> getAllUsernames();
   List<String> getUsernamesForRole(String role);
   boolean setUsernamesForRole(String role, List<String> usernames);
   boolean renameRole(String oldRole, String newRole);
   boolean deleteRole(String role);
}