1 17 18 package org.apache.james.remotemanager; 19 20 import java.util.ArrayList ; 21 import java.rmi.Remote ; 22 import java.rmi.RemoteException ; 23 24 25 30 public interface UserManager extends Remote { 31 32 33 39 ArrayList getRepositoryNames() 40 throws RemoteException ; 41 42 49 boolean setRepository(String repository) 50 throws RemoteException ; 51 52 60 boolean addUser(String username, 61 String password) 62 throws RemoteException ; 63 70 boolean deleteUser(String username) 71 throws RemoteException ; 72 79 boolean verifyUser(String username) 80 throws RemoteException ; 81 87 ArrayList getUserList() 88 throws RemoteException ; 89 95 int getCountUsers() 96 throws RemoteException ; 97 98 106 boolean setPassword(String username, 107 String password) 108 throws RemoteException ; 109 110 118 boolean setAlias(String username, 119 String alias) 120 throws RemoteException ; 121 128 boolean unsetAlias(String username) 129 throws RemoteException ; 130 137 String checkAlias(String username) 138 throws RemoteException ; 139 140 148 boolean setForward(String username, 149 String forward) 150 throws RemoteException ; 151 158 boolean unsetForward(String username) 159 throws RemoteException ; 160 168 String checkForward(String username) 169 throws RemoteException ; 170 171 } 172 | Popular Tags |