I think you're running into the same issue that we had in the beginning with RADIUS where one of the transitive dependencies was signed, ultimately producing a .jar file which could not be loaded correctly when the dependencies were exploded during the build process:
https://github.com/apache/guacamole-client/blob/9ee43e656cd3c4ad1c43632604ce424332404ff5/extensions/guacamole-auth-radius/pom.xml#L139 Should probably also go through the dependencies being pulled into the extension - I see the class files from the servlet API, Jersey, etc. being pulled into the .jar, which could cause problems down the line. They should be handled as provided. - Mike On Mon, Feb 5, 2018 at 12:12 PM, Nick Couchman <[email protected]> wrote: > (Sorry in advance if this gets double-posted - sent from the wrong address > the first time around...) > > Okay, I know I'm just doing something really silly/stupid here, but > hopefully someone can point it out. I've begun working a SAML > authentication module, using the OpenID module as a base (turns out they're > different enough that this didn't save me all that much time, but oh > well...). I've got the SAML code to where it compiles, though I'm sure > it's not functional, yet - particularly since I'm running into an error > getting it loaded. The code is located here: > > https://github.com/necouchman/guacamole-client/tree/GUACAMOLE-103 > > The error I'm seeing when I try to load Guacamole Client with this module > is as follows: > > 14:32:08.965 [localhost-startStop-18] ERROR o.a.g.extension. > ExtensionModule > - Extension "guacamole-auth-saml-0.9.14.jar" could not be loaded: > Authentication provider class not found. > ... > Caused by: java.lang.ClassNotFoundException: org.apache.guacamole.auth. > saml. > SAMLAuthenticationProvider > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > ~[na:1.8.0_161] > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_161] > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_161] > at org.apache.guacamole.extension.Extension.getAuthenticationProviderClass > (Extension.java:221) > ~[classes/:na] > ... 28 common frames omitted > > Full error text is here: > > https://pastebin.com/QFVgMiaM > > I'm sure I have a simple typo somewhere, but I'm not finding it - I've > checked the package names in each .java file, the class names, and the > manifest file for the extension, and, in my mind, anyway, it all seems > correct. > > Can someone take a few minutes to look over it and tell me what silly typo > I'm missing, or what else I need to check?! > > Thanks - Nick >
