intra-mart Accel Platform / Script Development Model Programming Guide

«  Specifications   ::   Contents   ::   Programming Techniques  »

Defined Access Context

In intra-mart Accel Platform , access context of several classifications are defined.
The explanation of the respective access contexts is given below.

Account Context

This is the access context that stores the information about the accessed accounts.
Authentication state or user code can be acquired by storing the basic information of the system.
It can always be used in intra-mart Accel Platform .

Solution Sequence of Property

Access context information can acquire the appropriate value according to the solution sequence which is defined irrespective of the user classification.
For example, value can be acquired according to the following solution sequence while acquiring the locale.
  1. Locale of individual setting in account information
  2. Locale of tenant set in tenant information
  3. Locale set while accessing from the browser
  4. Default locale set in the system
According to this solution sequence, locale can be acquired even in case of the unauthorized user who is not logged in.
The solution sequence of each property of access context is as per the following chart.
../../../../_images/account_context_resolve.png

Other Contexts

Client Context

This is the access context that stores the information about the accessed clients.
Accessed client information can be acquired as the client type ID.
It can be used in Web execution environment.
Client type ID “pc” can be acquired when accessed by PC. Whereas, client type ID “sp” can be acquired when accessed by smartphone.

User Context

This is the access context that stores the user profile information like user name or organization information retained in the IM common master.
It can be used in Web execution environment.
Affiliated organization information which is currently selected by the user can be acquired.
When affiliated organization is switched temporarily, switched affiliated organization information can be acquired.

Job Scheduler Context

This is the access context that stores the information about the job or job scheduler and is generated at the time of job execution by the job scheduler.
It can be used in job execution environment.
Information set in the “Job Set-up Screen” or execution parameters can be acquired.

Authorization Subject Context

This is access context that stores the subject information to execute authorization.
This is access context which is to be used in the system. It cannot be directly used by the user.

«  Specifications   ::   Contents   ::   Programming Techniques  »