1 18 package freecs.auth; 19 20 import java.util.Properties ; 21 22 import freecs.core.User; 23 import freecs.interfaces.IRequest; 24 25 26 30 31 public interface IAuthenticator { 32 33 36 public abstract void init (Properties props, String additionalPrefix) throws Exception ; 37 38 39 44 public abstract void shutdown () throws Exception ; 45 46 55 public abstract User loginUser (String username, String password, String cookie, IRequest request) throws Exception ; 56 57 64 public abstract User loginUser (User u, String username, String password, IRequest request) throws Exception ; 65 66 67 73 public abstract void logoutUser (User u) throws Exception ; 74 } | Popular Tags |