3DCompass URL Registration in 3DPassportIf the 3DPassport service is up and running before installing 3DSpace, this step is not necessary since it is managed automatically by the 3DSpace installer. 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 changes need to be registered in the 3DCompass app so they are updated throughout the entire 3DEXPERIENCE platform. Consequently, the 3DCompass URL needs to be registered in 3DPassport. When you install 3DSpace using the dedicated 3DSpace installer, the 3DSpaceRegistrationIn3DPassport.bat or 3DSpaceRegistrationIn3DPassport.sh script is executed automatically, which registers the 3DCompass URL in 3DPassport. If the script fails, after the installation is completed, you must run the script manually. Note:
The 3DPassport service must be running before launching this command.
To do so on Windows, go to: <3DSpaceInstallPath>/win_b64/code/command and run the command: 3DSpaceRegistrationIn3DPassport.bat and on Linux: <3DSpaceInstallPath>/scripts or <3DSpaceInstallPath>/linux_a64/code/command and run the shell The value for the 3DCompass URL is indicated by the MYAPPS_URL variable. 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, you have to run the script to setup the secret key for the given
credential.
For more information about the secret key generation, see Installation and Setup: 3DEXPERIENCE Platform: 3DEXPERIENCE Platform Administration: 3DPassport: Configuring Security Settings: Configuring 3DPassport APIs After you generate the secret key, retrieve it:
The configuration will be stored (encrypted) inside the database, and will be used for each interaction with 3DPassport API. Restart TomEE to take into account the new configuration. If the Secret Key or Client ID is no more valid or removed from 3DPassport, getting user information will not work anymore, and invite, update of the user will no more work inside 3DCompass. Securing access to creator fileFollowing 3DSpace scripts need to connect the server as creator through mql utility 3DSpaceRegistrationIn3DPassport.{sh|bat} FullTextSearch_partial_indexation.{sh|bat} FullTextSearch_PostInstall.{sh|bat} To avoid having creator password in plain text in these scripts, an encrypted password file is generated during the installation: <3DSpace install path>/credentials/creator The script files then 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 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 files in order 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: creator, guest, Test Everything, User Agent, Corporate. Hence, the login using these users to 3DSpace default FCS URL is restricted. Methodology for Creating Platform Users and Assigning RolesThe
There are two methods of creating platform users and assigning roles:
Create Users in 3DPassport From ScratchPlatform users need to be created 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, for example a GUI tool such as Manage P&O and Content, or in batch mode by importing a file containing the P&O data generated using the 3DSpace VPLMPosExport utility as explained in the following section in the online documentation: Installation and Setup : Configure: People & Organizations and Content: Advanced Configuration: Importing and Exporting P&O and Security Data: Running the VPLMPosExport Batch Tool. 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 re-create 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 the section "Managing 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 after being created in , they will be 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 3DEXPERIENCER2022x and after. The batch must be uploaded and run on the server that needs to be upgraded. To launch this batch on Windows, go to: <3DSpaceInstallPath>/win_b64/code/command and launch the command: OnPremisesSynchroUser.bat and on Linux: <3DSpaceInstallPath>/scripts or <3DSpaceInstallPath>/linux_a64/code/command and run the
shell as follows OnPremisesSynchroUser.bat (or .sh) -login <User> -pwd <UserPwd> -users User1,User2where:
For example: OnPremisesSynchroUser.bat -login admin_platform -pwd admin_platform -users alice,bob,eve where 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. Please refer to the chapter Configuring FCS Routing in the MQL Users Guide for further information. 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 3DEXPERIENCE Platform Services for the First Time: Installing Services One-by-One: 3DSpace: File Collaboration Server: Installing File Collaboration Server): You must 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 set
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: 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 one of these paths:
For Windows, use one of these paths
Add 2 Context-param (ids need to be unique) <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: Diagnosing the 3DEXPERIENCE Platform Installation |