@@ -0,0 +1,599 @@
+package ejb;%0A%0Aimport java.util.Collection;%0A%0Aimport javax.ejb.Remote;%0A%0Aimport entity.FinalUser;%0A%0A@Remote%0Apublic interface IDirectoryManager %7B%0A%09public boolean addUser(String userName, String password);%0A%0A%09public boolean removeUser(String userName);%0A%0A%09public Collection%3CFinalUser%3E lookupAllUsers();%0A%0A%09public FinalUser getUser(String userName);%0A%0A%09public FinalUser getUserById(int userId);%0A%0A%09public String lookupAUserRights(String userName);%0A%0A%09public boolean updateAUserRights(String userName, boolean readRight,%0A%09%09%09boolean writeRight);%0A%0A%09public boolean checkPassword(String userName, String password);%0A%7D%0A

Create IDirectoryManager.java