public interface IBenutzerHandler extends IGenericHandler
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
addBenutzerToGruppe(UserContext uc,
                   Benutzer ben,
                   BenutzerGruppe bg)
Methode um einen Benutzer einer Benutzergruppe hinzuzufügen. 
 | 
Benutzer | 
byLDAPGruppe(UserContext uc,
            String username,
            Mandant client)  | 
Benutzer | 
byLDAPGruppeLogin(UserContext uc,
                 Mandant client,
                 String userLogin,
                 String userPwd)
Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-Gruppe 
 | 
Benutzer | 
byLogin(UserContext uc,
       String userName,
       String passwd,
       Mandant client)
By login. 
 | 
Benutzer | 
byNameAndMandant(UserContext uc,
                String username,
                Mandant client)
Methode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens 
 | 
Benutzer | 
checkLDAPGroupsActiveUser(UserContext uc,
                         Long clientId,
                         String encryptUserLogin)  | 
boolean | 
checkLDAPLogin(UserContext uc,
              Mandant client,
              String userLogin,
              String userPwd)
Methode zum Prüfen des LDAP-Logins eines Benutzers 
 | 
Boolean | 
checkLogin(UserContext uc,
          String username,
          String passwort,
          Mandant client)
Checks the login of an user. 
 | 
String | 
generatePassword()
Generates a new password according the system configured password policies. 
 | 
List<BenutzerGruppe> | 
getBenutzergruppen(UserContext uc,
                  Benutzer user)
Gets the  
BenutzerGruppes. | 
Benutzer | 
getByLDAPData(UserContext uc,
             Mandant client,
             String userName,
             byte[] objectID)  | 
List<Benutzer> | 
getByMandant(UserContext uc,
            Mandant client)
Gets the by mandant. 
 | 
Benutzer | 
getByUUID(UserContext uc,
         Mandant client,
         String uuid)
Returns the user with the given UUID string 
 | 
Benutzer | 
getByUUID(UserContext uc,
         Mandant client,
         UUID uuid)
Returns the user with the given UUID 
 | 
com.alibaba.fastjson.JSONObject | 
getLDAPUserData(UserContext uc,
               Benutzer user)  | 
Benutzer | 
handleUserLogin(UserContext uc,
               Benutzer user)  | 
boolean | 
isLDAPUserActive(UserContext uc,
                Mandant client,
                String encryptUserLogin)  | 
Benutzer | 
registerBenutzer(UserContext uc,
                Benutzer benutzer,
                Mandant client)
Methode zum Anlegen eines neuen Benutzers zu einem Mandanten 
 | 
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getSingleAttributes, getSingleAttributes, resultTotalCount, update, updategetNameList<BenutzerGruppe> getBenutzergruppen(UserContext uc, Benutzer user)
BenutzerGruppes.uc - the UserContext to useuser - the user to get the BenutzerGruppesList of BenutzerGruppesBoolean checkLogin(UserContext uc, String username, String passwort, Mandant client)
uc - the UserContext to useusername - the name of the userpasswort - the passwort of the userclient - the client of the userList<Benutzer> getByMandant(UserContext uc, Mandant client)
uc - the UserContext to use to userclient - the manList of Benutzer of the MandantBenutzer byLogin(UserContext uc, String userName, String passwd, Mandant client)
uc - the UserContext to useuserName - the user namepasswd - the passwdclient - the clientBenutzer or nullBenutzer byLDAPGruppeLogin(UserContext uc, Mandant client, String userLogin, String userPwd)
uc - the UserContext to useclient - the clientuserLogin - the user nameuserPwd - the user passwordBenutzer or nullBenutzer byNameAndMandant(UserContext uc, String username, Mandant client)
uc - the UserContext to useusername - the usernameclient - the clientBenutzer or nullBenutzer byLDAPGruppe(UserContext uc, String username, Mandant client)
boolean addBenutzerToGruppe(UserContext uc, Benutzer ben, BenutzerGruppe bg)
uc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden sollben - der Benutzer dem die Gruppe hinzugefügt werden sollbg - die BenutzerGruppe die dem Benutzer hinzugefügt werden solltrue wenn die Aktualisierung erfolgreich warBenutzer registerBenutzer(UserContext uc, Benutzer benutzer, Mandant client)
uc - UserContext der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer - der angelegt werden sollclient - der dem Benutzer zugeordnet werden solltrue wenn der Benutzer erfolgreich angelegt wurdeboolean checkLDAPLogin(UserContext uc, Mandant client, String userLogin, String userPwd)
uc - the UserContext to useclient - the clientuserLogin - the user loginuserPwd - the user passwordtrue if the login was successful, false otherwisecom.alibaba.fastjson.JSONObject getLDAPUserData(UserContext uc, Benutzer user)
Benutzer getByLDAPData(UserContext uc, Mandant client, String userName, byte[] objectID)
Benutzer getByUUID(UserContext uc, Mandant client, String uuid)
uc - UserContext to useclient - Mandant context in which to look for useruuid - String UUID string of the userBenutzer for the given UUID and clientBenutzer getByUUID(UserContext uc, Mandant client, UUID uuid)
uc - UserContext to useclient - Mandant context in which to look for useruuid - UUID UUID of the userBenutzer for the given UUID and clientBenutzer handleUserLogin(UserContext uc, Benutzer user)
boolean isLDAPUserActive(UserContext uc, Mandant client, String encryptUserLogin)
uc - the UserContext to useclient - the clientencryptUserLogin - the user logintrue if the user is active, false otherwiseBenutzer checkLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)
uc - the UserContext to useclientId - the id of the clientencryptUserLogin - the encrypted user loginBenutzer or nullString generatePassword()
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.