Implementing OMSUIClient.jar
- Procedure
- The following dependencies can be added to access omsuiClient.jar:
<!-- TIBCO Dependencies --> <dependency> <groupID>com.tibco.aff</groupID> <artifactID>logClient</artifactID> </dependency> <dependency> <groupID>com.tibco.aff</groupID> <artifactID>omsuiClient</artifactID> </dependency> <!-- End: TIBCO dependencies -->
- Get access token through OMSUIClient for Order Management Server UI. The steps to access the token are as follows:
- Access Token URL: http://[hostname]:[PortName]/omsui/oauth/token.
- ClientID: Provided by Order Management Server UI (for example: my-trusted-client-with-secret).
- UserName: User Name for Order Management Server UI authorization.
- Password: Password for Order Management Server UI authorization.
- clientSecret: A secret key provided by Order Management Server UI.
- OMSUIClient fetches access tokens for Oauth2 authorization; the user can then add the token in target URL to access the Order Management Server UI.