Interface ILuteceUserProviderService
-
public interface ILuteceUserProviderServiceInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanUsersBeCached()Check if this service allow users it provide to be stored in cacheLuteceUsergetLuteceUserFromName(java.lang.String strName)Get the instance of a lutece user from its name
-
-
-
Method Detail
-
getLuteceUserFromName
LuteceUser getLuteceUserFromName(java.lang.String strName)
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
-
-