Interface IBenutzerHandler
-
- All Superinterfaces:
IAPIHandler,IGenericHandler,Serializable
- All Known Implementing Classes:
BenutzerHandler
@Deprecated public interface IBenutzerHandler extends IGenericHandler
Deprecated.TheBenutzerhas been replaced byUserProfile.The Class BenutzerHandler.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanaddBenutzerToGruppe(UserContext uc, Benutzer ben, BenutzerGruppe bg)Deprecated.Methode um einen Benutzer einer Benutzergruppe hinzuzufügen.BenutzerbyLDAPGruppe(UserContext uc, String username, Mandant client)Deprecated.BenutzerbyLDAPGruppeLogin(UserContext uc, Mandant client, String userLogin, String userPwd)Deprecated.Methode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-GruppeBenutzerbyLogin(UserContext uc, String userName, String passwd, Mandant client)Deprecated.By login.BenutzerbyNameAndMandant(UserContext uc, String username, Mandant client)Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des MandantensBenutzercheckLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)Deprecated.booleancheckLDAPLogin(UserContext uc, Mandant client, String userLogin, String userPwd)Deprecated.Methode zum Prüfen des LDAP-Logins eines BenutzersBooleancheckLogin(UserContext uc, String username, String passwort, Mandant client)Deprecated.Checks the login of an user.StringgeneratePassword()Deprecated.Generates a new password according the system configured password policies.List<BenutzerGruppe>getBenutzergruppen(UserContext uc, Benutzer user)Deprecated.Gets theBenutzerGruppes.BenutzergetByLDAPData(UserContext uc, Mandant client, String userName, byte[] objectID)Deprecated.User management has been reworked.List<Benutzer>getByMandant(UserContext uc, Mandant client)Deprecated.Gets the by mandant.BenutzergetByUUID(UserContext uc, Mandant client, String uuid)Deprecated.Returns the user with the given UUID stringBenutzergetByUUID(UserContext uc, Mandant client, UUID uuid)Deprecated.Returns the user with the given UUIDcom.alibaba.fastjson.JSONObjectgetLDAPUserData(UserContext uc, Benutzer user)Deprecated.BenutzerhandleUserLogin(UserContext uc, Benutzer user)Deprecated.booleanisLDAPUserActive(UserContext uc, Mandant client, String encryptUserLogin)Deprecated.BenutzerregisterBenutzer(UserContext uc, Benutzer benutzer, Mandant client)Deprecated.Methode zum Anlegen eines neuen Benutzers zu einem Mandanten-
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
-
-
-
-
Method Detail
-
getBenutzergruppen
List<BenutzerGruppe> getBenutzergruppen(UserContext uc, Benutzer user)
Deprecated.Gets theBenutzerGruppes.- Parameters:
uc- theUserContextto useuser- the user to get theBenutzerGruppes- Returns:
- a
ListofBenutzerGruppes
-
checkLogin
Boolean checkLogin(UserContext uc, String username, String passwort, Mandant client)
Deprecated.Checks the login of an user.- Parameters:
uc- theUserContextto useusername- the name of the userpasswort- the passwort of the userclient- the client of the user- Returns:
- the boolean
-
getByMandant
List<Benutzer> getByMandant(UserContext uc, Mandant client)
Deprecated.Gets the by mandant.- Parameters:
uc- theUserContextto use to userclient- the man- Returns:
- a
ListofBenutzerof theMandant
-
byLogin
Benutzer byLogin(UserContext uc, String userName, String passwd, Mandant client)
Deprecated.By login.- Parameters:
uc- theUserContextto useuserName- the user namepasswd- the passwdclient- the client- Returns:
- an
Benutzerornull
-
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- theUserContextto useclient- the clientuserLogin- the user nameuserPwd- the user password- Returns:
- an
Benutzerornull
-
byNameAndMandant
Benutzer byNameAndMandant(UserContext uc, String username, Mandant client)
Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens- Parameters:
uc- theUserContextto useusername- the usernameclient- the client- Returns:
Benutzerornull
-
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-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollben- derBenutzerdem die Gruppe hinzugefügt werden sollbg- dieBenutzerGruppedie dem Benutzer hinzugefügt werden soll- Returns:
truewenn 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-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer- der angelegt werden sollclient- der dem Benutzer zugeordnet werden soll- Returns:
truewenn 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- theUserContextto useclient- the clientuserLogin- the user loginuserPwd- the user password- Returns:
trueif the login was successful,falseotherwise
-
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-UserContextto useclient-Mandantcontext in which to look for useruuid-StringUUID string of the user- Returns:
Benutzerfor 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-UserContextto useclient-Mandantcontext in which to look for useruuid-UUIDUUID of the user- Returns:
Benutzerfor 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- theUserContextto useclient- the clientencryptUserLogin- the user login- Returns:
trueif the user is active,falseotherwise
-
checkLDAPGroupsActiveUser
Benutzer checkLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)
Deprecated.- Parameters:
uc- theUserContextto useclientId- the id of the clientencryptUserLogin- the encrypted user login- Returns:
Benutzerornull
-
generatePassword
String generatePassword()
Deprecated.Generates a new password according the system configured password policies.- Returns:
- an generated password
-
-