added support for injecting a security context via the transaction