■In case of ver7.x
User default of main page pattern when you start edits “IntramartFrameUserPageProvider” class for <user-security>/<page-provider>/<page-provider-class> tag of server manager subordinate/conf/access-security.xml.
# Only the system unit is supported. Setting for login group unit is not supported.
# intra-mart service need to restart after edit.
Already “main-frame” to <init-param>/<param-name> tag and “dt” to <param-value> tag is set as below.
--------------------------------
<init-param>
<param-name>main-frame</param-name>
<param-value>dt</param-value>
</init-param>
--------------------------------
Moreover, main page pattern of default can be set with system unit by adding “main-page” to <init-param>/<param-name> and URL setting of main page pattern to <param-value> separately.
--------------------------------
<init-param>
<param-name>main-page</param-name>
<param-value> URL of main page pattern </param-value>
</init-param>
--------------------------------
URL of main page pattern is as follows.
MainPage510 : system/security/user/main.jssp
MainPageSimple : system/security/user/simple/main.jssp
Setting example is as follows.
Example: in case of MainPage510
--------------------------------
(Omitted)
<user-security>
(Omitted)
<page-provider>
<page-provider-class>jp.co.intra_mart.foundation.security.ce
rtification.IntramartFrameUserPageProvider</page-provider-cl
ass>
<init-param>
<param-name>main-frame</param-name>
<param-value>dt</param-value>
</init-param>
<init-param>
<param-name>main-page</param-name>
<param-value>system/security/user/main.jssp</param-value>
</init-param>
</page-provider>
(Omitted)
<user-security>
(Omitted)
--------------------------------
Moreover, please note the following points if you set main image pattern setting MainPage510 or MainPageSimple as above, and screen display is not default of intra-mart after login but your specification screen display (if you set “dt” above as your specified URL).
If you changed main page pattern to “MainPage510” or “MainPageSimple” at “User settings” > “Main page pattern settings” after login as general user, main page pattern will be changed but default intra-mart screen will be displayed, not the screen display you specified.
For main page pattern, MainPage510, and MainPageSimple, you cannot change initialized screen with settings after login.
Because we provide MainPage510 and MainPageSimple as add-on, it is specification like this.
We apologize for the inconvenience, but thank you for your understanding.
The target files need to edit directly if you use MainPage510 and MainPageSimple.
・In case of MainPage510
pages/platform/src/system/security/user/main.js
“dt” at line 17 -> Path of the page you want to display
・In case of MainPageSimple
pages/platform/src/system/security/user/simple/main.js
“dt” at line 12 -> Path of the page you want to display
[Reference documents]
Access security specification document
4.7 Pages related to authentication setting
4.7.4.1 URL provided from page provider module
4.7.4.4 Page provider module implementation class
■ IntramartFrameUserPageProvider class
■In case of ver6.x
Default settings of main page pattern are available by rewriting below parts of server manager /conf/access-security.xml.
<user-security>
----(omission)----
<param-name>main-page</param-name>
<param-value>system/security/user/600/main.jssp</param-value>
----(omission)----
</user-security>
URL of main page pattern is as follows.
MainPage510 :system/security/user/main.jssp
MainPageSimple :system/security/user/simple/main.jssp
[Reference documents]
Access security specification document ver6.x
2.7.3 Page provider module
2.11.2.2 Create login page and main page
-- Target ------------------------------------------------------------------------
iWP/Web System Construction Platform/WebPlatform/AppFramework
--------------------------------------------------------------------------------
FAQID:331