Package io.jmix.securitydata.impl
Class CurrentUserQueryParamValueProvider
java.lang.Object
io.jmix.securitydata.impl.CurrentUserQueryParamValueProvider
- All Implemented Interfaces:
 QueryParamValueProvider
@Component("sec_CurrentUserQueryParamValueProvider")
@Order(200)
public class CurrentUserQueryParamValueProvider
extends Object
implements QueryParamValueProvider
Takes query parameter values from the currently authenticated (or substituted) user object.
 
 Parameter names must be in the form current_user_ATTRIBUTE where ATTRIBUTE is the name of
 an attribute of the user object.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
CURRENT_USER_PREFIX
- See Also:
 
 - 
currentUserSubstitution
 
 - 
 - 
Constructor Details
- 
CurrentUserQueryParamValueProvider
public CurrentUserQueryParamValueProvider() 
 - 
 - 
Method Details
- 
supports
Description copied from interface:QueryParamValueProviderReturns true if this provider supports the given parameter.- Specified by:
 supportsin interfaceQueryParamValueProvider
 - 
getValue
Description copied from interface:QueryParamValueProviderReturns a value for the given parameter.- Specified by:
 getValuein interfaceQueryParamValueProvider
 
 -