Https connectivity using RIDC is not working
IdcClientManager clientManager = new IdcClientManager();
IdcClient client = clientManager.createClient("https://localhost:18002/cs/idcplg");
client.getConfig().setProperty("http.library", "oracle");
IdcContext userContext = new IdcContext(username, password);
IntradocClientConfig config = (IntradocClientConfig) client.getConfig();
Getting below error:
Exception in thread "main" java.lang.ClassCastException: class oracle.stellent.ridc.protocol.http.IdcHttpClientConfig cannot be cast to class oracle.stellent.ridc.protocol.intradoc.IntradocClientConfig (oracle.stellent.ridc.protocol.http.IdcHttpClientConfig and oracle.stellent.ridc.protocol.intradoc.IntradocClientConfig are in module oracle.ucm.ridc of loader 'app')
at UCMOperations/CheckinDocument.getUCMConnection(CheckinDocument.java:31)