Package io.jmix.securitydata.impl
Class DatabaseUserSubstitutionProvider
java.lang.Object
io.jmix.securitydata.impl.DatabaseUserSubstitutionProvider
- All Implemented Interfaces:
 UserSubstitutionProvider
@Component("sec_DatabaseUserSubstitutionProvider")
public class DatabaseUserSubstitutionProvider
extends Object
implements UserSubstitutionProvider
A 
UserSubstitutionProvider that stores UserSubstitution in a database.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetUserSubstitutions(String username, Date date) Method returns a collection ofUserSubstitutionavailable for the givenusernameand active at the givendate. 
- 
Constructor Details
- 
DatabaseUserSubstitutionProvider
public DatabaseUserSubstitutionProvider() 
 - 
 - 
Method Details
- 
getUserSubstitutions
Description copied from interface:UserSubstitutionProviderMethod returns a collection ofUserSubstitutionavailable for the givenusernameand active at the givendate. IfUserSubstitution.startDateandUserSubstitution.endDateare null then this substitution is considered active.- Specified by:
 getUserSubstitutionsin interfaceUserSubstitutionProvider
 
 -