Remote login detection settings |
To protect the user's account security, SuperMap iPortal provides the function of remote login detection. After enabling the remote detection setting, if an account is logged into iPortal in different places at the same time, it will be judged as a remote login. And the result will be displayed in the response body ( "anotherPlaceLogin" field) after the login resource executes the POST request. The following will introduce in detail how to set the remote login detection in iPortal:
The iPortal administrator can add the relevant configuration iPortal (bold part) of remote login detection under the <properties> node in the iserver-system.xml file in the %SuperMap iPortal_HOME%/webapps/iportal/WEB-INF directory. For details, see the iServer configuration file description.
Example:
...
<properties>
<realspaceSecurityEnabled>true</realspaceSecurityEnabled>
<deniedFiles/>
<outputPath>./output</outputPath>
<envCheckEnabled>true</envCheckEnabled>
<checkDatasourceConnectionInterval>30</checkDatasourceConnectionInterval>
<outputSite>http://{ip}:{port}/{contextPath}/output/</outputSite>
<restartWhenCrash>true</restartWhenCrash>
<realspaceCacheAccessKey>-37 80 99 -61 -77 8 50 44 -71 90 -24 -17 -115 80 -56 -17</realspaceCacheAccessKey>
<checkLoggedInAnotherPlace>true</checkLoggedInAnotherPlace>
<loggedInAnotherPlaceProcessingStrategy>Notifying</loggedInAnotherPlaceProcessingStrategy>
</properties>
...