Interface IBenutzerHandler
- All Superinterfaces:
IAPIHandler
,IGenericHandler
,Serializable
- All Known Implementing Classes:
BenutzerHandler
Deprecated.
The Class BenutzerHandler.
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addBenutzerToGruppe
(UserContext uc, Benutzer ben, BenutzerGruppe bg) Deprecated.Methode um einen Benutzer einer Benutzergruppe hinzuzufügen.byLDAPGruppe
(UserContext uc, String username, Mandant client) Deprecated.byLDAPGruppeLogin
(UserContext uc, Mandant client, String userLogin, String userPwd) Deprecated.Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-GruppebyLogin
(UserContext uc, String userName, String passwd, Mandant client) Deprecated.By login.byNameAndMandant
(UserContext uc, String username, Mandant client) Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des MandantenscheckLDAPGroupsActiveUser
(UserContext uc, Long clientId, String encryptUserLogin) Deprecated.boolean
checkLDAPLogin
(UserContext uc, Mandant client, String userLogin, String userPwd) Deprecated.Methode zum Prüfen des LDAP-Logins eines BenutzerscheckLogin
(UserContext uc, String username, String passwort, Mandant client) Deprecated.Checks the login of an user.Deprecated.Generates a new password according the system configured password policies.getBenutzergruppen
(UserContext uc, Benutzer user) Deprecated.Gets theBenutzerGruppe
s.getByLDAPData
(UserContext uc, Mandant client, String userName, byte[] objectID) Deprecated.User management has been reworked.getByMandant
(UserContext uc, Mandant client) Deprecated.Gets the by mandant.getByUUID
(UserContext uc, Mandant client, String uuid) Deprecated.Returns the user with the given UUID stringgetByUUID
(UserContext uc, Mandant client, UUID uuid) Deprecated.Returns the user with the given UUIDcom.alibaba.fastjson.JSONObject
getLDAPUserData
(UserContext uc, Benutzer user) Deprecated.handleUserLogin
(UserContext uc, Benutzer user) Deprecated.boolean
isLDAPUserActive
(UserContext uc, Mandant client, String encryptUserLogin) Deprecated.registerBenutzer
(UserContext uc, Benutzer benutzer, Mandant client) Deprecated.Methode zum Anlegen eines neuen Benutzers zu einem MandantenMethods inherited from interface de.xima.fc.com.interfaces.IAPIHandler
getName
Methods inherited from interface de.xima.fc.handler.interfaces.entity.IGenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, update, update
-
Method Details
-
getBenutzergruppen
Deprecated.Gets theBenutzerGruppe
s.- Parameters:
uc
- theUserContext
to useuser
- the user to get theBenutzerGruppe
s- Returns:
- a
List
ofBenutzerGruppe
s
-
checkLogin
Deprecated.Checks the login of an user.- Parameters:
uc
- theUserContext
to useusername
- the name of the userpasswort
- the passwort of the userclient
- the client of the user- Returns:
- the boolean
-
getByMandant
Deprecated.Gets the by mandant.- Parameters:
uc
- theUserContext
to use to userclient
- the man- Returns:
- a
List
ofBenutzer
of theMandant
-
byLogin
Deprecated.By login.- Parameters:
uc
- theUserContext
to useuserName
- the user namepasswd
- the passwdclient
- the client- Returns:
- an
Benutzer
ornull
-
byLDAPGruppeLogin
Deprecated.Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-Gruppe- Parameters:
uc
- theUserContext
to useclient
- the clientuserLogin
- the user nameuserPwd
- the user password- Returns:
- an
Benutzer
ornull
-
byNameAndMandant
Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens- Parameters:
uc
- theUserContext
to useusername
- the usernameclient
- the client- Returns:
Benutzer
ornull
-
byLDAPGruppe
Deprecated. -
addBenutzerToGruppe
Deprecated.Methode um einen Benutzer einer Benutzergruppe hinzuzufügen.- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollben
- derBenutzer
dem die Gruppe hinzugefügt werden sollbg
- dieBenutzerGruppe
die dem Benutzer hinzugefügt werden soll- Returns:
true
wenn die Aktualisierung erfolgreich war
-
registerBenutzer
Deprecated.Methode zum Anlegen eines neuen Benutzers zu einem Mandanten- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer
- der angelegt werden sollclient
- der dem Benutzer zugeordnet werden soll- Returns:
true
wenn der Benutzer erfolgreich angelegt wurde
-
checkLDAPLogin
Deprecated.Methode zum Prüfen des LDAP-Logins eines Benutzers- Parameters:
uc
- theUserContext
to useclient
- the clientuserLogin
- the user loginuserPwd
- the user password- Returns:
true
if the login was successful,false
otherwise
-
getLDAPUserData
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
Deprecated.Returns the user with the given UUID string- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for useruuid
-String
UUID string of the user- Returns:
Benutzer
for the given UUID and client- Since:
- 6.x.x
-
getByUUID
Deprecated.Returns the user with the given UUID- Parameters:
uc
-UserContext
to useclient
-Mandant
context in which to look for useruuid
-UUID
UUID of the user- Returns:
Benutzer
for the given UUID and client- Since:
- 6.x.x
-
handleUserLogin
Deprecated. -
isLDAPUserActive
Deprecated.- Parameters:
uc
- theUserContext
to useclient
- the clientencryptUserLogin
- the user login- Returns:
true
if the user is active,false
otherwise
-
checkLDAPGroupsActiveUser
Deprecated.- Parameters:
uc
- theUserContext
to useclientId
- the id of the clientencryptUserLogin
- the encrypted user login- Returns:
Benutzer
ornull
-
generatePassword
String generatePassword()Deprecated.Generates a new password according the system configured password policies.- Returns:
- an generated password
-
Benutzer
has been replaced byUserProfile
.