dev@jersey.java.net

Creating customized injectables?

From: Patrick Ruhkopf <mail_at_patrickruhkopf.de>
Date: Fri, 16 Nov 2007 21:26:54 +0100 (CET)

Hi there,

I would like to inject the current user object to my resources. Is there a
way to create customized annotations and injectables?

I looked at the source code and noticed a comment in
com.sun.ws.rest.impl.application.WebApplicationContext (line 127) saying
"TODO defer to other injection providers".

This sounds promising. Is this going to be implemented soon? If not, how
would you implement security functionality? With plain old servlet
filters?

Regards
Patrick