intra-mart Accel Platform / TERASOLUNA Global Framework Programming Guide

Version 2 2014-01-01

«  Access Context   ::   Contents   ::   Defined Access Context  »

Specifications

Access Context Classification

Access context is classified by the [Type], which indicates the type of information, and can be used in the [Execution Environment] provided by the system.
  • Execution Environment: Execution environment represents the environment in which access context can be used. It has the lifecycle from Start to End.
  • Type: It is a type that represents one access context model that summarizes the related information.

Execution Environment

Execution environment represents the environment in which access context can be used.
It has the lifecycle from Start to End, and access context can be used with no limit during the lifecycle.
One execution environment will have multiple types of predefined access context.

Execution Environment List

Following execution environment are defined in intra-mart Accel Platform.
  • Web Execution Environment
This execution environment has a lifecycle that starts with the request using HTTP.
It retains user information from log-in to log-out by using the HTTP session.
  • Job Execution Environment
This execution environment has a lifecycle that is launched by the job scheduler.
  • Other Execution Environment
Lifecycle that is started by the request other than the ones stated above will each belong to another execution environment.
There are environment for system startup, asynchronous execution, and so on.

Context Type

Access context model is classified by the context types.
Each execution environment will have 1 access context of the context type that has been predefined.
Context type is displayed in a predefined character string.

Defined Context Type List and Support Execution Environment List

Following types of access context are pre-defined in intra-mart Accel Platform.
Context Type Web Execution Environment Job Execution Environment
Account Context Available Available
Client Context Available  
User Context Available  
Job Scheduler Context   Available

Other Specifications

Context Cache

Access context is usually discarded when the access is ended.
In the Web Execution Environment, access context that has information associated with the user is cached to the session, and user information at log-in will be retained until log-out.

Switching Process

Access context informtion can be changed through the switching process.
Switching process is performed according to the information and implementation that are predefined by the system. It is not possible to rewrite the information directly by the program.

«  Access Context   ::   Contents   ::   Defined Access Context  »