Package com.infragistics.reveal.sdk.api
Interface IRVUserContextProvider
-
public interface IRVUserContextProvider
Interface that can be implemented to return current user's context when a request is being processed. You can extendRVContainerRequestAwareUserContextProvider
and implement the abstract method that receives an instance ofContainerRequestContext
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IRVUserContext
getUserContext()
A method that should create the user context object.
-
-
-
Method Detail
-
getUserContext
IRVUserContext getUserContext()
A method that should create the user context object.- Returns:
- Implementation of the IRVUserContext interface. The returned value will be passed to other Reveal providers, like
IRVDashboardProvider
andIRVDataSourceProvider
.RVUserContext
is a default implementation you could use.
-
-