- When you install Materials Compliance Supplier Portal for the first time for a 3DEXPERIENCE server that supports Materials Compliance Management, you must import the certificate as follows:
- Enter the URL for the Materials Compliance Management system.
- In the browser address box, click the green lock Secure, then click the right arrow on the right side of the box.
- Click More Information.
- Click the Security tab, then click View Certificate.
- Click the Details tab.
- Click Export.
- On the Materials Compliance Supplier Portal server, import the certificate to java using java’s keytool api. For example:
C:\Program Files\Java\jre1.8.0_51\bin\>keytool -importcert -file C:\certificate\-uxdsone3dscom.crt
-keystore "C:\Program Files\Java\jre1.8.0_144\lib\security\jssecacerts"
-alias 649plp -storepass changeit
The next time you launch Materials Compliance Supplier Portal, it uses the certificate to establish a connection to the 3DEXPERIENCE platform. - Define the substance data loader servlet. For more information, see Configuring Substance Data Download.
- Update the mcc-portal.properties file to define the server URL. For more information, see Setting Up Materials Compliance Supplier Portal.
- Edit the web.xml file to add these lines after
filter mapping CASLoginTicketAuthFilter :<filter-mapping>
<filter-name>ByPassPatternFilter</filter-name>
<url-pattern>/services/*</url-pattern>
</filter-mapping> You can find the file at <path to file server>\webapps\enovia\WEB-INF\web.xml. For more information, see Configuring the Substance Data Loader. - Define the URL for REST services deployed in the ENOVIA server:
- Use WINZIP to extract the
mcc-portal.war file. - Locate the
mcc.restservices.url property and modify it as required for your installation:#URL of Materials Compliance Central REST Webservices deployed in ENOVIA server
mcc.restservices.url=http://ENOVIA_HOST:PORT/enovia/resources/ Update the value of this property with the host, port, and path for your installation. The REST services base path token resources in the URL is defined in the platform REST service API variable ModelerBase.REST_BASE_PATH. By default this variable is set to resources . - Add the modified file back into the
supplierportal.war file.
- To deploy the war file, copy
supplierportal.war to \<tomcat-home>\webapps then restart Tomcat. After deployment, you should be able to access the portal at http://< host_port_for_your_tomcat>/supplierportal/
(for example: http://qemldb4:8080/supplierportal ).
If needed, a predefined admin user (normally tier1-admin) can be used to connect to the Materials Compliance Management server and perform queries. All requests to the Materials Compliance Management server can be done as that admin user. The portal would simply verify that the portal user existed (the portal depended on some external web server to perform authentication of the portal user). The Materials Compliance Supplier Portal presents a challenge screen for the supplier representative to access. For a user to be a valid portal user, the user must be a person in ENOVIA that is connected to an organization via an employee relationship and be assigned the role of Supplier Representative, for example, "MCCSupplierRep".
|