Activate a security context
Security The Java EE Connector Architecture 1.6 specification allows units of javax.resource.spi.Work to be executed in a specific security context. This is done through the use of Java Authentication Service Provider Interface for Containers (JSR-196) call backs using the javax.security.auth.callback.Callback interface. The support is activated by letting the work instance implement the javax.resource.spi.work.WorkContextProvider interface and returning an instance of javax.resource.spi.work.SecurityContext.