public class JettyJAASLoginInterceptor extends JAASLoginInterceptor {
@Override
protected CallbackHandler getCallbackHandler(final String name, final String password) {
return new NamePasswordCallbackHandler(name, password) {
protected boolean handleCallback(Callback c) {
if (c instanceof ObjectCallback) {
((ObjectCallback)c).setObject(password);
return true;
} else {