Implementing OMSUIClient.jar
- Below dependencies can be added to in pom to access omsuiClient.jar:
- Fetch access token through OMSUIClient for Order Management Server UI:
- Call getAccessToken (accessTokenUri, clientID, userName, password, clientSecret) method of AccessTokenService of omsuiClient.
- Provide the following parameters:
- Access token URL: http://[hostname]:[PortName]/omsui/oauth/token
- Client ID: [Provided by OMSUi] (for example, my-trusted-client-with-secret)
- User name: [user name for Order Management Server UI authorization]
- Password: [password for Order Management Server UI authorization]
- clientSecret: [some secret key provided by OMSUI]
- OMSUIClient fetches access tokens for Oauth2 authorization, you can then add those token in the target URI to access OMSUI.
Copyright © 2023. Cloud Software Group, Inc. All Rights Reserved.