3DCompass URL Registration in 3DPassportIf the 3DPassport service is up and running before installing 3DSpace, this step is not required since the 3DSpace installer manages it automatically. If the 3DPassport service is not reachable at 3DSpace installation time, this step is mandatory. Each time a user updates a 3DPassport account (for example, when changing the first name or last name attributes), the 3DCompass app needs to register the changes to update the entire 3DEXPERIENCE platform. Consequently, the 3DPassport needs to register the 3DCompass URL. When you install 3DSpace using the dedicated 3DSpace installer, the 3DSpaceRegistrationIn3DPassport.bat or 3DSpaceRegistrationIn3DPassport.sh script runs automatically to register the 3DCompass URL in the 3DPassport. If the script fails, wait for the installation to complete and run the script manually. Note:
The 3DPassport service must be running before launching this
command.
On Windows, go to <3DSpaceInstallPath>/win_b64/code/command, and run: 3DSpaceRegistrationIn3DPassport.bat On Linux, go to <3DSpaceInstallPath>/scripts or
<3DSpaceInstallPath>/linux_a64/code/command, and run
The Note:
The command does not require additional parameters, as all inputs are written inside the
script.
Setting a Security Key for 3DCompassYou can secure the communication with 3DPassport using a generated secret key. Note:
To finalize the
3DEXPERIENCE platform installation, run the script to setup the secret key for the given credential.
For more information about the secret key and client ID generation, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Administration | 3DPassport | 3DPassport | Configuring Security Settings | Configuring 3DPassport APIs. After you generate the secret key and client ID retrieve it:
The configuration is stored (encrypted) inside the database, and used for each interaction with the 3DPassport API. Restart TomEE to take into account the new configuration. If the secret key or client ID is no longer valid or removed from the 3DPassport, getting user information will no longer work. Inviting or updating the user will no longer work inside the 3DCompass too. Securing Access to Creator FileThe following 3DSpace scripts need to connect the server as creator through the mql utility. 3DSpaceRegistrationIn3DPassport.{sh|bat} FullTextSearch_partial_indexation.{sh|bat} FullTextSearch_PostInstall.{sh|bat} To avoid having the creator password in plain text in these scripts, the installation generates an encrypted password file: <3DSpace install path>/credentials/creator Then the script files connect the server using this pattern: <3DSpace install path>/scripts/mql -t -c "set context user creator filename <3DSpace install path>/credentials/creator ; the mql command" Using this file allows you to connect as creator in mql without knowing the password. Therefore, for security reasons, you must secure the access to this file: <3DSpace install path >/credentials/creator In case this does not fit your security policy, remove the creator file, and modify the three script files mentioned above to use another method of authentication. For example, "set context user creator password xxx". Core UsersThe following users are not counted as active/inactive users: Methodology for Creating Platform Users and Assigning RolesThe
There are two methods for creating platform users and assigning roles:
Create Users in 3DPassport from ScratchYou must create platform users in 3DPassport. To do so, you can either create user accounts using the 3DPassport GUI tool, or import the users using the same file as the one you used with the VPLMPosImport command. Then, the administrator creates the same users, this time using platform administration tools:
Note:
If a platform user already exists, but does not exist in 3DPassport, anyone able to create a 3DPassport account can impersonate this user.
To import the users into 3DPassport:
Note the following syntax rules for imported data:
Migrate Existing Users Created in an Earlier ReleaseThis section explains how to import users created in an earlier release into 3DPassport. If you installed an earlier release (for example, V6R2014x or earlier), you need to migrate your existing users and declare them in 3DPassport. Since the authentication mode has changed, the previous user/password will not be recognized anymore. You must recreate existing platform users in 3DPassport. The user creation method depends on your 3DPassport implementation, in other words, whether or not you are using LDAP. Note:
If a platform user exists, but does not exist in 3DPassport, anyone able to create a 3DPassport account can impersonate this user.
If you are using LDAP, connect to your company's LDAP as explained in Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Administration | 3DPassport | 3DPassport | Configuring Integration | Configuring Repositories in the 3DPassport Installation Guide, then synchronize as explained in Synchronize Platform Users with All Platform Services. If you are NOT using LDAP, export your existing users using the VPLMPosExport tool provided with 3DSpace, then import them into 3DPassport using a special-purpose command as follows:
Note the following syntax rules for imported data:
Synchronize Platform Users with All Platform ServicesWhen users are created using legacy platform administration tools, they are ready for 3DSwym,3DDashboard, and other platform services, only if the services are correctly referenced in 3DSpace and were running when the users were created. Under certain circumstances, this may not be the case. For example, if only the 3DDashboard service was running, you may not be able to log onto 3DSwym. In this case, you must use the user synchronization batch tool that synchronizes platform users the other services individually or for the whole database, with scenarios such as migration from V6R2014x and earlier to 3DEXPERIENCER2027x and after. You must upload and run the batch on the server that needs to be upgraded. Note:
Before
executing the OnPremisesSynchroUser.bat batch import all the users in
3DPassport.
On Windows, go to <3DSpaceInstallPath>/win_b64/code/command and run
On Linux, go to <3DSpaceInstallPath>/scripts or
<3DSpaceInstallPath>/linux_a64/code/command and run
OnPremisesSynchroUser.bat (or .sh) -login <User> -pwd <UserPwd> -users User1,User2 Where:
For example: OnPremisesSynchroUser.bat -login admin_platform -pwd admin_platform -users alice,bob,eveWhere alice,bob,eve are platform users.
The first two arguments are mandatory. If the final argument is missing, all users in the database will be synchronized. The batch gives a status for each user:
Setting Up Web Application TimeoutIncrease the session-timeout parameter as follows:
Setting Up Reverse Proxy SupportThe official solution is the FCS URL Solver. For more information, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Configuration and Customization | Legacy Tools | MQL Concepts | MQL Concepts | Building the System Basics | Configuring FCS Routing. Install the File Collaboration Server (FCS) in a Dedicated Web ServerThe 3DSpace server uses CAS authentication. However, the File Collaboration Server does not support CAS. Consequently, you must install a File Collaboration Server in a dedicated web server where CAS authentication is not deployed. After the installation, you must specify a URL for the FCS and the store. The FCS installation generates a HTTPS/HTTP Converter for FCS (Multi-Site)For the default FCS managed by the 3DSpace Installer:
If you use a separate FCS installation (see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Installation | Installing Services One-by-One | 3DSpace | File Collaboration Server | File Collaboration Server | Installing File Collaboration Server): Install an HTTPS/HTTP converter in front of the Apache TomEE FCS. It can be placed either on each FCS, or before the load-balancing, or anywhere between the end-point and the TomEE. Note:
If you have set the 3DSpace endpoint with a non-standard HTTPS port, it is this port
that should be defined here.
Change Installation ParametersYou may need to change parameters defined during the latest services installation. Using the reconfiguration tool, you can modify these parameters without reinstalling the whole service. For more information, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Installation | Maintaining the Installation | Maintaining the Installation | Reconfiguring the 3DEXPERIENCE platform Installation. Configure the 3DEXPERIENCE platform with a Single FQDNTo install the 3DEXPERIENCE platform with a single FQDN, you must have one cookie name per service to handle session affinity, and avoid getting some service cookies overridden by other cookies. In that case, you need to update the configuration after the 3DSpace service installation, to send the cookie name to the shared configuration. For Linux, use the external TomEE+ path: <externalTomEEInstallPath>/webapps/3dspace/WEB-INF/web.xml For Windows, use the external TomEE+ path: <externalTomEEInstallPath>\webapps\3dspace\WEB-INF\web.xml Add 2 <context-param id="ContextParam_13"> <param-name>serverIdCookieName</param-name> <param-value>3DSPACESERVERID</param-value> </context-param> <context-param id="ContextParam_14"> <param-name>serverIdParamName</param-name> <param-value>3dspaceserverid</param-value> </context-param> Note:
You can also do the change before execution of war util (BuildDeploy3DSpace_CAS.[sh/bat]) in: Linux: <3DSpaceInstallPath>/linux_a64/resources/warutil/fragment/ENOLiveCollaborationServer.liveCollaborationServer.web.xml.part Windows: <3DSpaceInstallPath>\win_b64\resources\warutil\fragment\ENOLiveCollaborationServer.liveCollaborationServer.web.xml.part Restart the Apache TomEE+ CAS server. Configure the Header Name Used for the Session Affinity
If you want to change the name of this header, you need to proceed as explained below:
Use the Diagnosing ToolOnce the 3DEXPERIENCE platform has been installed, you can use the diagnosis tool to check that the services have been correctly installed and configured. For more information, see Installation and Setup | 3DEXPERIENCE Platform | 3DEXPERIENCE Platform Installation | Maintaining the Installation | Maintaining the Installation | Diagnosing the 3DEXPERIENCE platform Installation. Configuring External TomEE+ Windows ServiceWhen using an external TomEE+ on Windows as a service, it needs some additional configuration. Using the administrator rights, edit the TomEE+ windows service settings by executing the following command:
This batch file updates the external TomEE+ service registry. Notes:
Refer to the TomEE+ Windows service documentation page for editing and cleaning service settings stored at the following locations in the Windows registry:
To update TomEE+ No CAS service; the procedure is the same as above except that you need to comment the following 2 lines in ExternalTomEE_updateService.bat before executing the script: rem set MX_PAM_AUTHENTICATE_CLASS=com.dassault_systemes.plmsecurity.authentication.CASAuthenticationWithReauth rem set MX_PAM_AUTHENTICATE_ARG=remote_user |