When registering a link to an external site in the intra-mart Accel Platform menu, is it possible to set show/hide for this menu?

 
We will provide information on how to control access for the menus with common external sites (e.g., Yahoo! and Google) registered.

Access control in intra-mart Accel Platform is based on the authorization resources registered in IM-Authz (authorization). 
For example, for a screen on intra-mart Accel Platform that you want to control access for it, you need to create an authorization resource associated with it. 
(Note: Screens and authorization resources are linked on the routing table.)
A general external site is not a site managed by intra-mart Accel Platform, so the corresponding authorization resource does not exist in the initial state.
The following is a procedure for using IM-Authz (authorization) to control access for a menu that has an external site registered.
(* When "https://www.intra-mart.jp" is registered in the menu item.)
(1) Creating an authorization resource
·Create an authorization resource with the resource URI "service://external_site/intra-mart".
 Please refer to the following manual for the create method of the resource.
https://www.intra-mart.jp/document/library/iap/public/operation/tenant_administrator_guide/texts/basic_guide/basic_guide_1.html#configure_authorization_resource
 In addition, it is necessary to separately design and consider how to configure the hierarchical structure of the resources such as resource grouping in consideration of the usage of the system to be constructed.
(2)   Link the external site URL and the authorization resource.
・Create a routing table.
 … path is “http://www.intra-mart.jp”
 … authz uri is ”service://external_site/intra-mart”
----<WEB-INF/conf/routing-servlet-config/sample_external_site_access_control.xml>----
<routing-servlet-config
 xmlns="http://www.intra-mart.jp/router/routing-servlet-config" 
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
 xsi:schemaLocation="http://www.intra-mart.jp/router/routing-servlet-config routing-servlet-config.xsd ">
 <servlet-mapping path="https://www.intra-mart.jp" servlet="not_be_seen.jsp">
  <authz uri="service://external_site/intra-mart" action="execute" />
 </servlet-mapping>
</routing-servlet-config>
-----------------------------------------------------------------------------
(3) Restart Resin
・Restart AccelPlatform (Resin).
(4) Register menu
・Register the menu item which sets the URL of the external site on the menu setting screen.
  Enter "https://www.intra-mart.jp" for the URL and click the [Authorization Setting]  button to display the authorization setting screen in a popup.
  It is possible to control access by setting permission/prohibition.
  Please refer to the following manual for the setting menu items.
  https://www.intra-mart.jp/document/library/iap/public/operation/tenant_administrator_guide/texts/basic_guide/basic_guide_2.html#configure_menu_item

-- Target ---------------------------------------------------------------------
iAP/Accel Platform/All Updates
--------------------------------------------------------------------------------


FAQID:415
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk