Implementing OMSUIClient.jar

Procedure

  1. 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 -->
  2. Get access token through OMSUIClient for OMSUI. The steps to access the token are as follows:
    1. Access Token URL: http://[hostname]:[PortName]/omsui/oauth/token.
    2. ClientID: Provided by OMSUI (for eg: my-trusted-client-with-secret).
    3. UserName: User Name for OMSUI authorization.
    4. Password: Password for OMSUI authorization.
    5. clientSecret: A secret key provided by OMSUI.
  3. OMSUIClient fetches access tokens for Oauth2 authorization; the user can then add the token in target URL to access the OMSUI.