java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUserFactory

public final class DatabaseUserFactory extends Object
DatabaseUserFactory
  • Method Details

    • getFactory

      public static DatabaseUserFactory getFactory()
      Get the instance of the factory
      Returns:
      the instance of the factory
    • setBeanDatabaseUser

      public void setBeanDatabaseUser(String strBeanDatabaseUser)
      Set the bean database user
      Parameters:
      strBeanDatabaseUser - the bean database user
    • setEmailUsedAsLogin

      public void setEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)
      Set true if the email is used as login, false otherwise
      Parameters:
      bIsEmailUsedAsLogin - true if the email is used as login, false otherwise
    • isEmailUsedAsLogin

      public boolean isEmailUsedAsLogin()
      Check if the email is used as login
      Returns:
      true if the email is used as login, false otherwise
    • newDatabaseUser

      public DatabaseUser newDatabaseUser()
      Instanciate a new DatabaseUser defined in database_context.xml
      Returns:
      a new instance of DatabaseUser