From: <mr...@us...> - 2003-01-08 05:51:46
|
Update of /cvsroot/struts/struts-resume/src/common/org/appfuse/common In directory sc8-pr-cvs1:/tmp/cvs-serv28232 Added Files: Constants.java Log Message: --- NEW FILE: Constants.java --- package org.appfuse.common; /** * Constant values for use in Servlets and JSPs. * * <p> * <a href="Constants.java.html"><i>View Source</i></a> * </p> * * @author Matt Raible * @version $Revision: 1.1 $ $Date: 2003/01/08 05:51:43 $ */ public final class Constants { //~ Static fields/initializers ============================================= /** * The application scoped attribute for persistence engine and class that * implements it */ public final static String DAO_TYPE = "daoType"; public final static String DAO_TYPE_HIBERNATE = "hibernate"; /** * JNDI Name of SessionFactory used by hibernate. This string is configured * in web/WEB-INF/classes/hibernate.cfg.xml */ public final static String SESSION_FACTORY = "hibernate/sessionFactory"; /** Application scoped attribute for authentication url */ public static final String AUTH_URL = "authURL"; /** Application scoped attributes for SSL Switching */ public static final String HTTP_PORT = "httpPort"; public static final String HTTPS_PORT = "httpsPort"; /** The application scoped attribute for indicating a secure login */ public static final String SECURE_LOGIN = "secureLogin"; /** The encryption algorithm key to be used for passwords */ public final static String ENC_ALGORITHM = "algorithm"; /** File separator from System properties */ public final static String FILE_SEP = System.getProperty("file.separator"); /** User home from System properties */ public static final String USER_HOME = System.getProperty("user.home") + FILE_SEP; /** * The session scope attribute under which the breadcrumb ArrayStack is * stored */ public static final String BREADCRUMB = "breadcrumbs"; /** * The session scope attribute under which the User object for the * currently logged in user is stored. */ public final static String USER_KEY = "userForm"; /** * The request scope attribute for storing an list of a user's resumes */ public final static String USER_RESUMES = "userResumes"; } |