Implementing OMSUIClient.jar
- Below dependencies can be
added to in pom to access omsuiClient.jar:
- Fetch access token through
OMSUIClient for OMSUI:
- 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 OMSUI authorization]
- Password: [password
for OMSUI authorization]
- clientSecret: [some
secret key provided by OMSUI]
- OMSUIClient will fetch
access tokens for Oauth2 authorization, you can then add those token in the
target URI to access OMSUI.
Copyright © Cloud Software Group, Inc. All rights reserved.