Class LuteceUserService


  • public final class LuteceUserService
    extends java.lang.Object
    Service to access user management functionalities. This class provide
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LuteceUser getLuteceUserFromName​(java.lang.String strName)
      Get the LuteceUser with the given name
      static void userAttributesChanged​(java.lang.String strUserName)
      Declares that a user was modified.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLuteceUserFromName

        public static LuteceUser getLuteceUserFromName​(java.lang.String strName)
        Get the LuteceUser with the given name
        Parameters:
        strName - The name of the LuteceUser to get
        Returns:
        The LuteceUser, or null if no LuteceUser has the given name
      • userAttributesChanged

        public static void userAttributesChanged​(java.lang.String strUserName)
        Declares that a user was modified. This method must be used every time a user is updated to keep the cache up to date. Note that if the user name of a user is changed, this method does not need to be called
        Parameters:
        strUserName - The name of the updated user.