Interface ProfileStorageDecision<C extends WebContext>

    • Method Detail

      • mustLoadProfilesFromSession

        boolean mustLoadProfilesFromSession​(C context,
                                            List<Client> currentClients)
        Whether we must load the profiles from the web session.
        Parameters:
        context - the web context
        currentClients - the current clients
        Returns:
        whether the profiles must be loaded from the web session
      • mustSaveProfileInSession

        boolean mustSaveProfileInSession​(C context,
                                         List<Client> currentClients,
                                         DirectClient directClient,
                                         UserProfile profile)
        Whether we must save the profile in session after the authentication of direct clients.
        Parameters:
        context - the web context
        currentClients - the current clients
        directClient - the direct clients
        profile - the retrieved profile after login
        Returns:
        whether we must save the profile in session