Interface IBenutzerHandler

All Superinterfaces:
IAPIHandler, IGenericHandler, Serializable
All Known Implementing Classes:
BenutzerHandler

@Deprecated public interface IBenutzerHandler extends IGenericHandler
Deprecated.
The Benutzer has been replaced by UserProfile.
The Class BenutzerHandler.
Author:
XIMA MEDIA GmbH
  • Method Details

    • getBenutzergruppen

      List<BenutzerGruppe> getBenutzergruppen(UserContext uc, Benutzer user)
      Deprecated.
      Gets the BenutzerGruppes.
      Parameters:
      uc - the UserContext to use
      user - the user to get the BenutzerGruppes
      Returns:
      a List of BenutzerGruppes
    • checkLogin

      Boolean checkLogin(UserContext uc, String username, String passwort, Mandant client)
      Deprecated.
      Checks the login of an user.
      Parameters:
      uc - the UserContext to use
      username - the name of the user
      passwort - the passwort of the user
      client - the client of the user
      Returns:
      the boolean
    • getByMandant

      List<Benutzer> getByMandant(UserContext uc, Mandant client)
      Deprecated.
      Gets the by mandant.
      Parameters:
      uc - the UserContext to use to user
      client - the man
      Returns:
      a List of Benutzer of the Mandant
    • byLogin

      Benutzer byLogin(UserContext uc, String userName, String passwd, Mandant client)
      Deprecated.
      By login.
      Parameters:
      uc - the UserContext to use
      userName - the user name
      passwd - the passwd
      client - the client
      Returns:
      an Benutzer or null
    • byLDAPGruppeLogin

      Benutzer byLDAPGruppeLogin(UserContext uc, Mandant client, String userLogin, String userPwd)
      Deprecated.
      Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-Gruppe
      Parameters:
      uc - the UserContext to use
      client - the client
      userLogin - the user name
      userPwd - the user password
      Returns:
      an Benutzer or null
    • byNameAndMandant

      Benutzer byNameAndMandant(UserContext uc, String username, Mandant client)
      Deprecated.
      Methode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens
      Parameters:
      uc - the UserContext to use
      username - the username
      client - the client
      Returns:
      Benutzer or null
    • byLDAPGruppe

      Benutzer byLDAPGruppe(UserContext uc, String username, Mandant client)
      Deprecated.
    • addBenutzerToGruppe

      boolean addBenutzerToGruppe(UserContext uc, Benutzer ben, BenutzerGruppe bg)
      Deprecated.
      Methode um einen Benutzer einer Benutzergruppe hinzuzufügen.
      Parameters:
      uc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden soll
      ben - der Benutzer dem die Gruppe hinzugefügt werden soll
      bg - die BenutzerGruppe die dem Benutzer hinzugefügt werden soll
      Returns:
      true wenn die Aktualisierung erfolgreich war
    • registerBenutzer

      Benutzer registerBenutzer(UserContext uc, Benutzer benutzer, Mandant client)
      Deprecated.
      Methode zum Anlegen eines neuen Benutzers zu einem Mandanten
      Parameters:
      uc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden soll
      benutzer - der angelegt werden soll
      client - der dem Benutzer zugeordnet werden soll
      Returns:
      true wenn der Benutzer erfolgreich angelegt wurde
    • checkLDAPLogin

      boolean checkLDAPLogin(UserContext uc, Mandant client, String userLogin, String userPwd)
      Deprecated.
      Methode zum Prüfen des LDAP-Logins eines Benutzers
      Parameters:
      uc - the UserContext to use
      client - the client
      userLogin - the user login
      userPwd - the user password
      Returns:
      true if the login was successful, false otherwise
    • getLDAPUserData

      com.alibaba.fastjson.JSONObject getLDAPUserData(UserContext uc, Benutzer user)
      Deprecated.
    • getByLDAPData

      @Deprecated Benutzer getByLDAPData(UserContext uc, Mandant client, String userName, byte[] objectID)
      Deprecated.
      User management has been reworked. Users may have multiple identities to sign in with.
    • getByUUID

      Benutzer getByUUID(UserContext uc, Mandant client, String uuid)
      Deprecated.
      Returns the user with the given UUID string
      Parameters:
      uc - UserContext to use
      client - Mandant context in which to look for user
      uuid - String UUID string of the user
      Returns:
      Benutzer for the given UUID and client
      Since:
      6.x.x
    • getByUUID

      Benutzer getByUUID(UserContext uc, Mandant client, UUID uuid)
      Deprecated.
      Returns the user with the given UUID
      Parameters:
      uc - UserContext to use
      client - Mandant context in which to look for user
      uuid - UUID UUID of the user
      Returns:
      Benutzer for the given UUID and client
      Since:
      6.x.x
    • handleUserLogin

      Benutzer handleUserLogin(UserContext uc, Benutzer user)
      Deprecated.
    • isLDAPUserActive

      boolean isLDAPUserActive(UserContext uc, Mandant client, String encryptUserLogin)
      Deprecated.
      Parameters:
      uc - the UserContext to use
      client - the client
      encryptUserLogin - the user login
      Returns:
      true if the user is active, false otherwise
    • checkLDAPGroupsActiveUser

      Benutzer checkLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)
      Deprecated.
      Parameters:
      uc - the UserContext to use
      clientId - the id of the client
      encryptUserLogin - the encrypted user login
      Returns:
      Benutzer or null
    • generatePassword

      String generatePassword()
      Deprecated.
      Generates a new password according the system configured password policies.
      Returns:
      an generated password