com.aoindustries.website
Class Constants

java.lang.Object
  extended by com.aoindustries.website.Constants

public class Constants
extends java.lang.Object

Constants that may be used by other applications.

Author:
AO Industries, Inc.

Field Summary
static java.lang.String AO_CONN
          The session key used to store the effective AOServConnector when the user has successfully authenticated.
static java.lang.String AUTHENTICATED_AO_CONN
          The session key used to store the AOServConnector that the user has authenticated as.
static java.lang.String AUTHENTICATION_MESSAGE
          The request key used to store authentication messages.
static java.lang.String AUTHENTICATION_TARGET
          The session key that stores the authentication target.
static java.lang.String HTTP_SERVLET_RESPONSE_STATUS
          Until version 3.0 there will not be a getStatus method on the HttpServletResponse class.
static java.lang.String LAYOUT
          The session key used to store the current layout.
static java.lang.String LOCALE
          The request key used to store the current Locale.
static java.lang.String PERMISSION_DENIED
          The request key used to store the List<AOServPermission> that ALL must be allowed for the specified task.
static java.lang.String SITE_SETTINGS
          The request key used to store the current SiteSettings.
static java.lang.String SKIN
          The request key used to store the current Skin.
static java.lang.String SU_REQUESTED
          The session key that stores when a "su" has been requested.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SU_REQUESTED

public static final java.lang.String SU_REQUESTED
The session key that stores when a "su" has been requested.

See Also:
Constant Field Values

AO_CONN

public static final java.lang.String AO_CONN
The session key used to store the effective AOServConnector when the user has successfully authenticated. Any "su" can change this.

See Also:
Constant Field Values

AUTHENTICATED_AO_CONN

public static final java.lang.String AUTHENTICATED_AO_CONN
The session key used to store the AOServConnector that the user has authenticated as. "su" will not changes this.

See Also:
Constant Field Values

AUTHENTICATION_TARGET

public static final java.lang.String AUTHENTICATION_TARGET
The session key that stores the authentication target.

See Also:
Constant Field Values

AUTHENTICATION_MESSAGE

public static final java.lang.String AUTHENTICATION_MESSAGE
The request key used to store authentication messages.

See Also:
Constant Field Values

LAYOUT

public static final java.lang.String LAYOUT
The session key used to store the current layout. The layout setting affects the per-request skin selection.

See Also:
Constant Field Values

SKIN

public static final java.lang.String SKIN
The request key used to store the current Skin.

See Also:
Constant Field Values

SITE_SETTINGS

public static final java.lang.String SITE_SETTINGS
The request key used to store the current SiteSettings.

See Also:
Constant Field Values

LOCALE

public static final java.lang.String LOCALE
The request key used to store the current Locale.

See Also:
Constant Field Values

PERMISSION_DENIED

public static final java.lang.String PERMISSION_DENIED
The request key used to store the List<AOServPermission> that ALL must be allowed for the specified task.

See Also:
Constant Field Values

HTTP_SERVLET_RESPONSE_STATUS

public static final java.lang.String HTTP_SERVLET_RESPONSE_STATUS
Until version 3.0 there will not be a getStatus method on the HttpServletResponse class. To allow code to detect the current status, anytime the status is set one should also set the request attribute of this name to a java.lang.Integer of the status.

See Also:
Constant Field Values