8 Replies Latest reply on Jan 15, 2016 6:59 PM by arielcarrera

    Security using Wildfly 8

    arielcarrera

      I think that Switchyard could have a problem with the security context using Wildfly 8.

      When I deploy a sample app using Wildfly 8, I get the exception:

       

      Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/connector/RequestFacade

        at org.switchyard.security.jboss.credential.extractor.JBossServletRequestCredentialExtractor.<clinit>(JBossServletRequestCredentialExtractor.java:42) [switchyard-security-jboss-2.0.0.Final.jar:2.0.0.Final]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_60]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_60]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_60]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:422) [rt.jar:1.8.0_60]

        at java.lang.Class.newInstance(Class.java:442) [rt.jar:1.8.0_60]

        at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) [rt.jar:1.8.0_60]

        ... 46 more

       

      I read the source code into github and I see that switchyard-security-jboss is ok for jboss-as 7 but not for wildfly. Wildfly doesn't have jbossweb.jar, it has a wildfly-web.jar that doesn't contain catalina's source code anymore.