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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetUserSubstitutions(String username, Date date) Method returns a collection ofUserSubstitutionavailable for the givenusernameand active at the givendate.
- 
Constructor Details- 
DatabaseUserSubstitutionProviderpublic DatabaseUserSubstitutionProvider()
 
- 
- 
Method Details- 
getUserSubstitutionsDescription 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 interface- UserSubstitutionProvider
 
 
-