I’m trying to get Okta running in Fuse 7.2. I’ve got my Okta dependencies installed as bundles in my features.xml file like this:
wrap:mvn:com.okta.sdk/okta-sdk-api/1.5.2
wrap:mvn:com.okta.sdk/okta-sdk-impl/1.5.2
wrap:mvn:com.okta.sdk/okta-sdk-httpclient/1.5.2
wrap:mvn:com.okta.commons/okta-commons-lang/1.2.2
But I go to start my Okta bundle, I get this error:
Caused by: com.okta.commons.lang.UnknownClassException: Unable to load class named [com.okta.sdk.impl.client.DefaultClientBuilder] from the thread context, current, or system/application ClassLoaders. All heuristics have been exh
austed. Class could not be found. Have you remembered to include the okta-sdk-impl .jar in your runtime classpath?
Okta does not currently have an implementation for OSGi, but I do have a ticket open with them. My current approach involves unpacking Okta jars and putting source into my project, but that is introducing other issues. I’ll keep this topic posted as I work through this.