Package de.xima.fc.handler.entity
Class BenutzerHandler
java.lang.Object
de.xima.fc.handler.AMSApiHandler
de.xima.fc.handler.entity.GenericHandler
de.xima.fc.handler.entity.BenutzerHandler
- All Implemented Interfaces:
IAPIHandler
,IBenutzerHandler
,IGenericHandler
,Serializable
Deprecated.
The Class BenutzerHandler.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG
-
Constructor Summary
Constructors -
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 mandant) Deprecated.byLDAPGruppeLogin
(UserContext uc, Mandant man, 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 man) Deprecated.By login.byNameAndMandant
(UserContext uc, String username, Mandant mandant) Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des MandantenscheckLDAPGroupsActiveUser
(UserContext uc, Long clientId, String encryptUserLogin) Deprecated.boolean
checkLDAPLogin
(UserContext uc, Mandant man, String userLogin, String userPwd) Deprecated.Methode zum Prüfen des LDAP-Logins eines BenutzerscheckLogin
(UserContext uc, String username, String passwort, Mandant man) Deprecated.Checks the login of an user.Deprecated.Generates a new password according the system configured password policies.getBenutzergruppen
(UserContext uc, Benutzer ben) Deprecated.Gets theBenutzerGruppe
s.getByLDAPData
(UserContext uc, Mandant mandant, String userName, byte[] objectID) Deprecated.getByMandant
(UserContext uc, Mandant man) 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 benutzer) Deprecated.handleUserLogin
(UserContext uc, Benutzer user) Deprecated.boolean
isLDAPUserActive
(UserContext uc, Mandant man, String encryptUserLogin) Deprecated.registerBenutzer
(UserContext uc, Benutzer benutzer, Mandant mandant) Deprecated.Methode zum Anlegen eines neuen Benutzers zu einem MandantenMethods inherited from class de.xima.fc.handler.entity.GenericHandler
create, create, delete, delete, deleteBy, deleteById, deleteById, getAll, getAllBy, getAttributes, getAttributes, getBy, getById, getById, getById, getEntityRefs, getSingleAttributes, getSingleAttributes, resultTotalCount, serializableList, update, update
Methods inherited from class de.xima.fc.handler.AMSApiHandler
getName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
Constructor Details
-
BenutzerHandler
public BenutzerHandler()Deprecated.
-
-
Method Details
-
getBenutzergruppen
Deprecated.Description copied from interface:IBenutzerHandler
Gets theBenutzerGruppe
s.- Specified by:
getBenutzergruppen
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useben
- the user to get theBenutzerGruppe
s- Returns:
- a
List
ofBenutzerGruppe
s
-
checkLogin
Deprecated.Description copied from interface:IBenutzerHandler
Checks the login of an user.- Specified by:
checkLogin
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useusername
- the name of the userpasswort
- the passwort of the userman
- the client of the user- Returns:
- the boolean
-
getByMandant
Deprecated.Description copied from interface:IBenutzerHandler
Gets the by mandant.- Specified by:
getByMandant
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to use to userman
- the man- Returns:
- a
List
ofBenutzer
of theMandant
-
byLogin
Deprecated.Description copied from interface:IBenutzerHandler
By login.- Specified by:
byLogin
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useuserName
- the user namepasswd
- the passwdman
- the client- Returns:
- an
Benutzer
ornull
-
addBenutzerToGruppe
Deprecated.Description copied from interface:IBenutzerHandler
Methode um einen Benutzer einer Benutzergruppe hinzuzufügen.- Specified by:
addBenutzerToGruppe
in interfaceIBenutzerHandler
- 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.Description copied from interface:IBenutzerHandler
Methode zum Anlegen eines neuen Benutzers zu einem Mandanten- Specified by:
registerBenutzer
in interfaceIBenutzerHandler
- Parameters:
uc
-UserContext
der Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer
- der angelegt werden sollmandant
- der dem Benutzer zugeordnet werden soll- Returns:
true
wenn der Benutzer erfolgreich angelegt wurde
-
byNameAndMandant
Deprecated.Description copied from interface:IBenutzerHandler
Methode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens- Specified by:
byNameAndMandant
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useusername
- the usernamemandant
- the client- Returns:
Benutzer
ornull
-
checkLDAPLogin
Deprecated.Description copied from interface:IBenutzerHandler
Methode zum Prüfen des LDAP-Logins eines Benutzers- Specified by:
checkLDAPLogin
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useman
- the clientuserLogin
- the user loginuserPwd
- the user password- Returns:
true
if the login was successful,false
otherwise
-
isLDAPUserActive
Deprecated.- Specified by:
isLDAPUserActive
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useman
- the clientencryptUserLogin
- the user login- Returns:
true
if the user is active,false
otherwise
-
checkLDAPGroupsActiveUser
Deprecated.- Specified by:
checkLDAPGroupsActiveUser
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useclientId
- the id of the clientencryptUserLogin
- the encrypted user login- Returns:
Benutzer
ornull
-
byLDAPGruppeLogin
Deprecated.Description copied from interface:IBenutzerHandler
Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-Gruppe- Specified by:
byLDAPGruppeLogin
in interfaceIBenutzerHandler
- Parameters:
uc
- theUserContext
to useman
- the clientuserLogin
- the user nameuserPwd
- the user password- Returns:
- an
Benutzer
ornull
-
byLDAPGruppe
Deprecated.- Specified by:
byLDAPGruppe
in interfaceIBenutzerHandler
-
getLDAPUserData
Deprecated.- Specified by:
getLDAPUserData
in interfaceIBenutzerHandler
-
getByLDAPData
Deprecated.- Specified by:
getByLDAPData
in interfaceIBenutzerHandler
-
getByUUID
Deprecated.Description copied from interface:IBenutzerHandler
Returns the user with the given UUID string- Specified by:
getByUUID
in interfaceIBenutzerHandler
- 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
-
getByUUID
Deprecated.Description copied from interface:IBenutzerHandler
Returns the user with the given UUID- Specified by:
getByUUID
in interfaceIBenutzerHandler
- 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
-
handleUserLogin
Deprecated.- Specified by:
handleUserLogin
in interfaceIBenutzerHandler
-
generatePassword
Deprecated.Description copied from interface:IBenutzerHandler
Generates a new password according the system configured password policies.- Specified by:
generatePassword
in interfaceIBenutzerHandler
- Returns:
- an generated password
-
Benutzer
has been replaced byUserProfile
.