public interface ProfileStorageDecision<C extends WebContext>
Modifier and Type | Method and Description |
---|---|
boolean |
mustLoadProfilesFromSession(C context,
List<Client> currentClients)
Whether we must load the profiles from the web session.
|
boolean |
mustSaveProfileInSession(C context,
List<Client> currentClients,
DirectClient directClient,
CommonProfile profile)
Whether we must save the profile in session after the authentication of direct clients.
|
boolean mustLoadProfilesFromSession(C context, List<Client> currentClients)
context
- the web contextcurrentClients
- the current clientsboolean mustSaveProfileInSession(C context, List<Client> currentClients, DirectClient directClient, CommonProfile profile)
context
- the web contextcurrentClients
- the current clientsdirectClient
- the direct clientsprofile
- the retrieved profile after loginCopyright © 2019. All rights reserved.