Interface ILuteceUserProviderService
public interface ILuteceUserProviderService
Interface for service that provide LuteceUser. There should be an implementation of this interface for each implementation of user management.
Implementations are retrieved by Spring and thus must be declared as beans.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if this service allow users it provide to be stored in cachegetLuteceUserFromName(String strName) Get the instance of a lutece user from its name
-
Method Details
-
getLuteceUserFromName
Get the instance of a lutece user from its name- Parameters:
strName- The name of the user to get- Returns:
- The LuteceUser, or null if no user has the given name
-
canUsersBeCached
boolean canUsersBeCached()Check if this service allow users it provide to be stored in cache- Returns:
- True if users can be stored in cache, false otherwise
-