Package com.oracle.content.sdk.util
Class TestUtil
java.lang.Object
com.oracle.content.sdk.util.TestUtil
Used internally for test purposes and may change in the future.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TestUtil
public TestUtil()
-
-
Method Details
-
getChannelToken
public static String getChannelToken(String serverUrl, String userName, String userPassword, String channelName) Uses an authenticated management SDK call to get the channel token for a given channel name on a server. This is for test purposes only and may change in future releases.- Parameters:
serverUrl
- valid serveruserName
- basic auth useruserPassword
- basic auth passwordchannelName
- channel name to find token for- Returns:
- channel token if found or null
-