⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loginauthmodule.java

📁 GridSphere 门户 提供一个基于 portlet 的高级开放源代码门户。GridSphere 是在欧盟提供基金的 GridLab 项目下开发的
💻 JAVA
字号:
package org.gridsphere.services.core.security.auth.modules;import org.gridsphere.services.core.user.User;import org.gridsphere.services.core.security.auth.AuthenticationException;import javax.servlet.http.HttpServletRequest;import java.util.Locale;import java.util.Map;/** * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a> * @version $Id: LoginAuthModule.java 4496 2006-02-08 20:27:04Z wehrens $ */public interface LoginAuthModule extends Comparable {    public void setHttpServletRequest(HttpServletRequest request);    public void setAttributes(Map attributes);    public String getAttribute(String name);    public Map getAttributes();    public String getModuleName();    public String getModuleDescription(Locale locale);    public int getModulePriority();    public boolean isModuleActive();    public void setModulePriority(int priority);    public void setModuleActive(boolean isActive);    public String getModuleError(String key, Locale locale);    public abstract void checkAuthentication(User user, String password) throws AuthenticationException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -