01: /*
02: * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
03: * @version $Id: AuthModuleService.java 6385 2007-10-25 14:02:26Z wehrens $
04: */
05: package org.gridsphere.services.core.security.auth;
06:
07: import org.gridsphere.portlet.service.PortletService;
08: import org.gridsphere.services.core.security.auth.modules.LoginAuthModule;
09:
10: import java.util.List;
11:
12: /**
13: * The <code>AuthModuleService</code> provides the portal with the available authentication
14: * modules. By default the PasswordAuthModule is selected which uses the GridSphere database
15: * to store passwords. Other authorization modules can use external directory servers such as LDAP, etc
16: */
17: public interface AuthModuleService extends PortletService {
18:
19: public void loadAuthModules(String authModsPath,
20: ClassLoader classloader);
21:
22: public List<LoginAuthModule> getActiveAuthModules();
23:
24: public List<LoginAuthModule> getAuthModules();
25:
26: public void saveAuthModule(LoginAuthModule authModule);
27:
28: }
|