Interface IRVUserContextProvider

  • public interface IRVUserContextProvider
    Interface that can be implemented to return current user's context when a request is being processed. You can extend RVContainerRequestAwareUserContextProvider and implement the abstract method that receives an instance of ContainerRequestContext from JAX-RS specification. You can also implement it from scratch, in that case you might need to add a filter resource that sets the user in a ThreadLocal and then retrieve it here.