edu.vt.middleware.ldap.servlets
Class ServletConstants

java.lang.Object
  extended by edu.vt.middleware.ldap.servlets.ServletConstants

public final class ServletConstants
extends Object

ServletConstants contains all the constants needed by the ldap servlet package.

Version:
$Revision: 1330 $ $Date: 2010-05-23 18:10:53 -0400 (Sun, 23 May 2010) $
Author:
Middleware Services

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

See Also:
Constant Field Values

POOL_TYPE

public static final 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 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 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 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 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 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 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 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 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 String SESSION_MANAGER
Class used to initialize http sessions.

See Also:
Constant Field Values

DEFAULT_SESSION_MANAGER

public static final 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 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 String USER_PARAM
HTTP parameter used to transmit the user identifier, value is "user".

See Also:
Constant Field Values

CREDENTIAL_PARAM

public static final String CREDENTIAL_PARAM
HTTP parameter used to transmit the user credential, value is "credential".

See Also:
Constant Field Values

URL_PARAM

public static final String URL_PARAM
HTTP parameter used to transmit the redirect url, value is "url".

See Also:
Constant Field Values


Copyright © 2003-2010 Virginia Tech. All Rights Reserved.