| | |
| | | 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);
|
| | |
|
| | | UserModel authenticate(char[] cookie);
|
| | |
|
| | | User 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);
|
| | | |
| | | }
|