Hi Roman,
yes, that was the idea.
(Sorry for the delay; I was on holiday and afterwoods I have to do a lot
of other things)
best regards
Stephan
-----------------------------------------
Roman Geus wrote:
Hi again
It seems, that the following idea solves my problem.
Instantiate a subclass of JaxRsApplication, that overrides the
createRoot() method, which installs the (Spnego)Filter.
class ExampleApplication extends JaxRsApplication {
Filter filter;
public ExampleApplication(Filter filter) {
this.filter = filter;
}
@Override
public Restlet createRoot() {
if (filter != null) {
filter.setNext(super.createRoot());
return filter;
} else
return super.createRoot();
}
}
Best regards,
Roman