Class ServletConstants


  • public final class ServletConstants
    extends java.lang.Object
    ServletConstants contains all the constants needed by the ldap servlet package.
    Version:
    $Revision: 1330 $ $Date: 2010-05-24 00:10:53 +0200 (Mon, 24 May 2010) $
    Author:
    Middleware Services
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String BEAN_FACTORY
      Type of ldap bean factory, value is "edu.vt.middleware.ldap.servlets.beanFactory".
      static java.lang.String CREDENTIAL_PARAM
      HTTP parameter used to transmit the user credential, value is "credential".
      static java.lang.String DEFAULT_ERROR_MSG
      Default error message, value is "Could not authenticate or authorize user".
      static java.lang.String DEFAULT_INVALIDATE_SESSION
      Default behavior for invalidating the user session at logout, value is "true".
      static java.lang.String DEFAULT_LOGIN_URL
      Default URL of the page that does collects user credentials, value is "/".
      static java.lang.String DEFAULT_OUTPUT_FORMAT
      Default format of search output, value is "DSML".
      static java.lang.String DEFAULT_SESSION_ID
      Default identifier to set in the session after valid authentication, value is "user".
      static java.lang.String DEFAULT_SESSION_MANAGER
      Default session initializer, value is "edu.vt.middleware.ldap.servlets.session.DefaultSessionManager".
      static java.lang.String ERROR_MSG
      Error message to display if authentication fails, value is "edu.vt.middleware.ldap.servlets.errorMsg".
      static java.lang.String INVALIDATE_SESSION
      Whether to invalidate the user session at logout, value is "edu.vt.middleware.ldap.servlets.invalidateSession".
      static java.lang.String LOGIN_URL
      URL of the page that collects user credentials, value is "edu.vt.middleware.ldap.servlets.loginUrl".
      static java.lang.String OUTPUT_FORMAT
      Format of search output, value is "edu.vt.middleware.ldap.servlets.outputFormat".
      static java.lang.String POOL_PROPERTIES_FILE
      LDAP pool initialization properties file, value is "edu.vt.middleware.ldap.servlets.poolPropertiesFile".
      static java.lang.String POOL_TYPE
      Type of pool used, value is "edu.vt.middleware.ldap.servlets.poolType".
      static java.lang.String PROPERTIES_DOMAIN
      Domain to look for properties in, value is "edu.vt.middleware.ldap.servlets.".
      static java.lang.String PROPERTIES_FILE
      LDAP initialization properties file, value is "edu.vt.middleware.ldap.servlets.propertiesFile".
      static java.lang.String SESSION_ID
      Identifier to set in the session after valid authentication, value is "edu.vt.middleware.ldap.servlets.sessionId".
      static java.lang.String SESSION_MANAGER
      Class used to initialize http sessions.
      static java.lang.String URL_PARAM
      HTTP parameter used to transmit the redirect url, value is "url".
      static java.lang.String USER_PARAM
      HTTP parameter used to transmit the user identifier, value is "user".
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • PROPERTIES_DOMAIN

        public static final java.lang.String PROPERTIES_DOMAIN
        Domain to look for properties in, value is "edu.vt.middleware.ldap.servlets.".
        See Also:
        Constant Field Values
      • PROPERTIES_FILE

        public static final java.lang.String PROPERTIES_FILE
        LDAP initialization properties file, value is "edu.vt.middleware.ldap.servlets.propertiesFile".
        See Also:
        Constant Field Values
      • POOL_PROPERTIES_FILE

        public static final java.lang.String POOL_PROPERTIES_FILE
        LDAP pool initialization properties file, value is "edu.vt.middleware.ldap.servlets.poolPropertiesFile".
        See Also:
        Constant Field Values
      • OUTPUT_FORMAT

        public static final java.lang.String OUTPUT_FORMAT
        Format of search output, value is "edu.vt.middleware.ldap.servlets.outputFormat".
        See Also:
        Constant Field Values
      • DEFAULT_OUTPUT_FORMAT

        public static final java.lang.String DEFAULT_OUTPUT_FORMAT
        Default format of search output, value is "DSML".
        See Also:
        Constant Field Values
      • POOL_TYPE

        public static final java.lang.String POOL_TYPE
        Type of pool used, value is "edu.vt.middleware.ldap.servlets.poolType".
        See Also:
        Constant Field Values
      • BEAN_FACTORY

        public static final java.lang.String BEAN_FACTORY
        Type of ldap bean factory, value is "edu.vt.middleware.ldap.servlets.beanFactory".
        See Also:
        Constant Field Values
      • SESSION_ID

        public static final java.lang.String SESSION_ID
        Identifier to set in the session after valid authentication, value is "edu.vt.middleware.ldap.servlets.sessionId".
        See Also:
        Constant Field Values
      • DEFAULT_SESSION_ID

        public static final java.lang.String DEFAULT_SESSION_ID
        Default identifier to set in the session after valid authentication, value is "user".
        See Also:
        Constant Field Values
      • INVALIDATE_SESSION

        public static final java.lang.String INVALIDATE_SESSION
        Whether to invalidate the user session at logout, value is "edu.vt.middleware.ldap.servlets.invalidateSession".
        See Also:
        Constant Field Values
      • DEFAULT_INVALIDATE_SESSION

        public static final java.lang.String DEFAULT_INVALIDATE_SESSION
        Default behavior for invalidating the user session at logout, value is "true".
        See Also:
        Constant Field Values
      • LOGIN_URL

        public static final java.lang.String LOGIN_URL
        URL of the page that collects user credentials, value is "edu.vt.middleware.ldap.servlets.loginUrl".
        See Also:
        Constant Field Values
      • DEFAULT_LOGIN_URL

        public static final java.lang.String DEFAULT_LOGIN_URL
        Default URL of the page that does collects user credentials, value is "/".
        See Also:
        Constant Field Values
      • ERROR_MSG

        public static final java.lang.String ERROR_MSG
        Error message to display if authentication fails, value is "edu.vt.middleware.ldap.servlets.errorMsg".
        See Also:
        Constant Field Values
      • SESSION_MANAGER

        public static final java.lang.String SESSION_MANAGER
        Class used to initialize http sessions.
        See Also:
        Constant Field Values
      • DEFAULT_SESSION_MANAGER

        public static final java.lang.String DEFAULT_SESSION_MANAGER
        Default session initializer, value is "edu.vt.middleware.ldap.servlets.session.DefaultSessionManager".
        See Also:
        Constant Field Values
      • DEFAULT_ERROR_MSG

        public static final java.lang.String DEFAULT_ERROR_MSG
        Default error message, value is "Could not authenticate or authorize user".
        See Also:
        Constant Field Values
      • USER_PARAM

        public static final java.lang.String USER_PARAM
        HTTP parameter used to transmit the user identifier, value is "user".
        See Also:
        Constant Field Values
      • CREDENTIAL_PARAM

        public static final java.lang.String CREDENTIAL_PARAM
        HTTP parameter used to transmit the user credential, value is "credential".
        See Also:
        Constant Field Values
      • URL_PARAM

        public static final java.lang.String URL_PARAM
        HTTP parameter used to transmit the redirect url, value is "url".
        See Also:
        Constant Field Values