Would you mind creating JIRAs for both of these please? They seem like very reasonable feature requests.
Feel free to implement the Jndi strategy if you need it ASAP. We'd gladly accept it as a contribution ;-)
I believe Daniel is already thinking about these, he nearly implemented them both at his previous company.
Daniel, anything to add?
I have implemented both but since i needed them very quickly they have a very strong quick and dirty flavor.
So ill wait for Daniel reply.
I'll create JIRAs for both issues and if you'd like to attach your code as contributions to the JIRAs that would be great;-)
I'll post back with URLs to the JIRAs shortly.