<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi all</div><div class=""><br class=""></div><div class="">Maybe my issue is resolved if the packages below are not strictly by OpenSAML V3 or it’s dependencies. I have set the resolution to optional, and my bundle starts. If I find runtime errors in my application due to missing something below, then I’ll have more concrete information about what is needed and why.</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">com.beust.jcommander*;resolution:=optional,</div><div class="">com.google.appengine.api.*;resolution:=optional,</div><div class="">com.google.apphosting.api.*;resolution:=optional,</div><div class="">com.google.appengine.repackaged.*;resolution:=optional,</div><div class="">org.apache.log.*;resolution:=optional,</div><div class="">org.apache.oro.text.perl.*;resolution:=optional,</div><div class="">antlr.*;resolution:=optional,</div><div class="">org.apache.tools.ant.*;resolution:=optional,</div><div class="">junit.framework.*;resolution:=optional,</div><div class="">org.dom4j.*;resolution:=optional,</div><div class="">org.jdom.*;resolution:=optional,</div><div class="">org.bouncycastle.*;resolution:=optional,</div><div class="">com.sun.org.apache.xerces.internal.*;resolution:=optional,</div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">In this environment, my bundle Activator has the lines...<div class=""><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">JavaCryptoValidationInitializer jcvi = new JavaCryptoValidationInitializer();</div></div><div class=""><div class="">jcvi.init();</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">for (Provider jceProvider : Security.getProviders()) {</div></div><div class=""><div class="">    logger.info(jceProvider.getInfo());</div></div><div class=""><div class="">}</div></div></blockquote><div class=""><div class=""><br class=""></div><div class="">With the following algorithms output</div><div class=""><br class=""></div></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS & DKS keystores; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Sun RSA signature providerSun Elliptic Curve provider (EC, ECDSA, ECDH)Sun JSSE provider(PKCS12, SunX509/PKIX key/trust factories, SSLv3/TLSv1/TLSv1.1/TLSv1.2)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Sun (Kerberos v5, SPNEGO)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5, NTLM; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5, NTLM)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory; C14N 1.0, C14N 1.1, Exclusive C14N, Base64, Enveloped, XPath, XPath2, XSLT TransformServices)</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Sun PC/SC providerApple Provider</div></div></blockquote><div class=""><div class=""><br class=""></div><div class="">Which looks good to me.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px;">Cris Rockwell<br class="">Applications Architect Sr  <br class="">College of Literature, Science, and the Arts | University of Michigan <br class="">LSA Technology Services | 6503 Haven Hall | 505 S. State Street | Ann Arbor, MI I 48109<br class="">Desk: 734.763.6818 | <a href="mailto:cmrockwe@umich.edu" class="">Email: cmrockwe@umich.edu</a></div></div></div></div></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Feb 18, 2020, at 7:20 PM, Cris Rockwell <<a href="mailto:cmrockwe@umich.edu" class="">cmrockwe@umich.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hello Shibboleth Developers</div><div class=""><br class=""></div><div class="">I am working to add SAML2 Service Provider authentication handling to Apache Sling.</div><div class=""><br class=""></div><div class="">My work in progress can be viewed on Github below</div><div class=""><a href="https://github.com/cmrockwell/sling-whiteboard/tree/sling-saml2-service-provider/saml-handler" class="">https://github.com/cmrockwell/sling-whiteboard/tree/sling-saml2-service-provider/saml-handler</a></div><div class=""><br class=""></div><div class="">I have found the OpenSaml V3 eBook to be useful, but I am having trouble getting my OSGI bundle to Activate due to dependencies.  I have tried the <a href="https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.opensaml/3.4.3_2" class="">servicemix opensaml wrapper</a> but it seems to have the same issues in this environment (Apache Felix) as just embedding the opensaml modules directly, and I prefer to include just the relevant modules anyway.</div><div class=""><br class=""></div><div class="">My project pom.xml is set up to embed OpenSaml’s dependencies as well as the transitive dependencies. This approach usually works, but is a bit ham-fisted. But in this case even with this, there are dependencies that are not resolving.</div><div class=""><br class=""></div><div class="">In particular, these are the packages that cannot be imported.</div><div class=""><br class=""></div><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">com.beust.jcommander -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">com.beust.jcommander.converters -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">com.google.appengine.api -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">com.google.apphosting.api -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">com.google.errorprone.annotations.concurrent -- Cannot be resolved</span><div class=""><div style="orphans: 2; widows: 2;" class=""><font color="#cd0a0a" face="Verdana, Arial, sans-serif" size="1" class=""><span style="caret-color: rgb(205, 10, 10); background-color: rgb(230, 230, 230);" class=""><br class=""></span></font></div><div class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.app -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.context -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.exception -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.runtime -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.runtime.log -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.runtime.resource.loader -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.velocity.runtime.resource.util -- Cannot be resolved</span></div><div class=""><font color="#cd0a0a" class=""><span style="caret-color: rgb(205, 10, 10);" class=""><br style="font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""></span></font><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xml.dtm -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xml.utils -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xpath -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xpath.compiler -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xpath.functions -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.apache.xpath.objects -- Cannot be resolved</span></div><div class=""><font color="#cd0a0a" class=""><span style="caret-color: rgb(205, 10, 10);" class=""><br class=""></span></font></div><div class=""><div class=""><span style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class="">org.joda.convert -- Cannot be resolved</span></div><div class=""><div style="orphans: 2; widows: 2;" class=""><span style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; background-color: rgb(230, 230, 230);" class="">org.relaxng.datatype -- Cannot be resolved</span></div></div></div><div class=""><font color="#cd0a0a" class=""><span style="caret-color: rgb(205, 10, 10);" class=""><br class=""></span></font></div><div class="">Based on the ebook and several posts  I expect bouncycastle will need to the added to </div><div class=""><a href="https://vzurczak.wordpress.com/2017/09/04/bouncycastle-osgi-and-uber-jars/" class="">https://vzurczak.wordpress.com/2017/09/04/bouncycastle-osgi-and-uber-jars/</a></div><div class=""><a href="https://stackoverflow.com/questions/26624104/bundle-will-not-start-when-bouncy-castle-is-imported" class="">https://stackoverflow.com/questions/26624104/bundle-will-not-start-when-bouncy-castle-is-imported</a><br style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.bouncycastle.cert -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.bouncycastle.cert.jcajce -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.bouncycastle.openssl.jcajce -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.bouncycastle.operator -- Cannot be resolved</span><br style="color: rgb(85, 85, 85); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);" class=""><span class="ui-state-error-text" style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(230, 230, 230);">org.bouncycastle.operator.jcajce -- Cannot be resolved</span><br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="orphans: 2; widows: 2;" class="">If anyone has suggestions that could help, or information about some of these dependencies, I would very much appreciate any ideas.</div><div style="orphans: 2; widows: 2;" class=""><span style="color: rgb(205, 10, 10); font-family: Verdana, Arial, sans-serif; font-size: 10.6667px; font-variant-ligatures: normal; background-color: rgb(230, 230, 230);" class=""><br class=""></span></div><div style="orphans: 2; widows: 2;" class="">Thanks!</div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="text-align: start; text-indent: 0px;" class="">Cris Rockwell<br class="">Applications Architect Sr  <br class="">College of Literature, Science, and the Arts | University of Michigan <br class="">LSA Technology Services | 6503 Haven Hall | 505 S. State Street | Ann Arbor, MI I 48109<br class="">Desk: 734.763.6818 | <a href="mailto:cmrockwe@umich.edu" class="">Email: cmrockwe@umich.edu</a></div></div></div></div></div></div></div>
</div>
<br class=""></div></div></div></div></div></blockquote></div><br class=""></div></div></body></html>