define as many providers as needed. If you need dynamic selection just add a kind of router in your code to make it convenient. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2013/12/20 hwaastad <he...@waastad.org>: > Hi, > sure i'm using mapped names on remotes I do not need to authenticate to. (or > can use a static login principal) > > However, some of my beans needs to be authenticated by the user logged in. > It works as I wrote earlier, but I just wanted to know if its possible to > use a "dynamic" jndiprovider. > > Or maybe us an @interceptor to inject dynamic principals would work..... > > br hw > > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Lookup-and-jndiprovider-tp4666811p4666814.html > Sent from the OpenEJB User mailing list archive at Nabble.com.