Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] classloading problems with custom authenticator

Looks like the only way is to add my classes to lib/ext or create a module.

On 11/7/2014 4:07 PM, Bill Burke wrote:
I'm writing my own custom org.eclipse.jetty.security.Authenticator for
Jetty 9.2.x.  Works great when embedding Jetty, but I can't get it to
work with a WAR deployed within Jetty server.  I keep getting
ClassNotFoundException for jetty system classes like:

import org.eclipse.jetty.server.HttpChannel;
import org.eclipse.jetty.server.Request;
import org.eclipse.jetty.server.UserIdentity;

I tried setServerClasses "-org.eclipse.jetty.server.", really most
combinations here, with no go.  I'm guessing if I include
jetty-server.jar I'll then get Class cast exceptions and Linkage errors.
  Is there a way around this?

Thanks,

Bill


--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


Back to the top