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

📄 loginbean.java

📁 Can tell the new comer whether is the right user,and checks the information from Database.
💻 JAVA
字号:
package grant;


import java.util.List;

import javax.faces.context.FacesContext;

import org.operamasks.faces.annotation.ManagedBean;
import org.operamasks.faces.annotation.ManagedBeanScope;
import org.operamasks.faces.annotation.ManagedProperty;

import authorize.SysInterface;
import authorize.UserInterface;
import authorize.UserObject;
import base.ACL;

@ManagedBean(name = "loginBean", scope = ManagedBeanScope.SESSION)
public class LoginBean {
	@ManagedProperty(value = "#{SysInterfaceImpl}")
	private SysInterface sysInterface;
	@ManagedProperty(value = "#{UserInterfaceImpl}")
	private UserInterface userInterface;
	@ManagedProperty
	private String username="000";
	@ManagedProperty
	private String password="000";
	@ManagedProperty
	private String userrole;
	@ManagedProperty
	private String empName;
	@ManagedProperty
	private String message;
	@ManagedProperty
	private String script;
	
	
	//绗

⌨️ 快捷键说明

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