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 public class BenutzerHandler extends GenericHandler implements IBenutzerHandler
Deprecated.TheBenutzerhas been replaced byUserProfile.The Class BenutzerHandler.- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from class de.xima.fc.handler.entity.GenericHandler
LOG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BenutzerHandler()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete 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 mandant)Deprecated.BenutzerbyLDAPGruppeLogin(UserContext uc, Mandant man, 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 man)Deprecated.By login.BenutzerbyNameAndMandant(UserContext uc, String username, Mandant mandant)Deprecated.Methode zum Ermitteln eines Benutzers anhand seines Namens und des MandantensBenutzercheckLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)Deprecated.booleancheckLDAPLogin(UserContext uc, Mandant man, String userLogin, String userPwd)Deprecated.Methode zum Prüfen des LDAP-Logins eines BenutzersBooleancheckLogin(UserContext uc, String username, String passwort, Mandant man)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 ben)Deprecated.Gets theBenutzerGruppes.BenutzergetByLDAPData(UserContext uc, Mandant mandant, String userName, byte[] objectID)Deprecated.List<Benutzer>getByMandant(UserContext uc, Mandant man)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 benutzer)Deprecated.BenutzerhandleUserLogin(UserContext uc, Benutzer user)Deprecated.booleanisLDAPUserActive(UserContext uc, Mandant man, String encryptUserLogin)Deprecated.BenutzerregisterBenutzer(UserContext uc, Benutzer benutzer, Mandant mandant)Deprecated.Methode zum Anlegen eines neuen Benutzers zu einem Mandanten- 
Methods 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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getBenutzergruppen
public List<BenutzerGruppe> getBenutzergruppen(UserContext uc, Benutzer ben)
Deprecated.Description copied from interface:IBenutzerHandlerGets theBenutzerGruppes.- Specified by:
 getBenutzergruppenin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useben- the user to get theBenutzerGruppes- Returns:
 - a 
ListofBenutzerGruppes 
 
- 
checkLogin
public Boolean checkLogin(UserContext uc, String username, String passwort, Mandant man)
Deprecated.Description copied from interface:IBenutzerHandlerChecks the login of an user.- Specified by:
 checkLoginin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useusername- the name of the userpasswort- the passwort of the userman- the client of the user- Returns:
 - the boolean
 
 
- 
getByMandant
public List<Benutzer> getByMandant(UserContext uc, Mandant man)
Deprecated.Description copied from interface:IBenutzerHandlerGets the by mandant.- Specified by:
 getByMandantin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto use to userman- the man- Returns:
 - a 
ListofBenutzerof theMandant 
 
- 
byLogin
public Benutzer byLogin(UserContext uc, String userName, String passwd, Mandant man)
Deprecated.Description copied from interface:IBenutzerHandlerBy login.- Specified by:
 byLoginin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useuserName- the user namepasswd- the passwdman- the client- Returns:
 - an 
Benutzerornull 
 
- 
addBenutzerToGruppe
public boolean addBenutzerToGruppe(UserContext uc, Benutzer ben, BenutzerGruppe bg)
Deprecated.Description copied from interface:IBenutzerHandlerMethode um einen Benutzer einer Benutzergruppe hinzuzufügen.- Specified by:
 addBenutzerToGruppein interfaceIBenutzerHandler- 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
public Benutzer registerBenutzer(UserContext uc, Benutzer benutzer, Mandant mandant)
Deprecated.Description copied from interface:IBenutzerHandlerMethode zum Anlegen eines neuen Benutzers zu einem Mandanten- Specified by:
 registerBenutzerin interfaceIBenutzerHandler- Parameters:
 uc-UserContextder Benutzerkontext in welchem die Aktion durchgeführt werden sollbenutzer- der angelegt werden sollmandant- der dem Benutzer zugeordnet werden soll- Returns:
 truewenn der Benutzer erfolgreich angelegt wurde
 
- 
byNameAndMandant
public Benutzer byNameAndMandant(UserContext uc, String username, Mandant mandant)
Deprecated.Description copied from interface:IBenutzerHandlerMethode zum Ermitteln eines Benutzers anhand seines Namens und des Mandantens- Specified by:
 byNameAndMandantin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useusername- the usernamemandant- the client- Returns:
 Benutzerornull
 
- 
checkLDAPLogin
public boolean checkLDAPLogin(UserContext uc, Mandant man, String userLogin, String userPwd)
Deprecated.Description copied from interface:IBenutzerHandlerMethode zum Prüfen des LDAP-Logins eines Benutzers- Specified by:
 checkLDAPLoginin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useman- the clientuserLogin- the user loginuserPwd- the user password- Returns:
 trueif the login was successful,falseotherwise
 
- 
isLDAPUserActive
public boolean isLDAPUserActive(UserContext uc, Mandant man, String encryptUserLogin)
Deprecated.- Specified by:
 isLDAPUserActivein interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useman- the clientencryptUserLogin- the user login- Returns:
 trueif the user is active,falseotherwise
 
- 
checkLDAPGroupsActiveUser
public Benutzer checkLDAPGroupsActiveUser(UserContext uc, Long clientId, String encryptUserLogin)
Deprecated.- Specified by:
 checkLDAPGroupsActiveUserin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useclientId- the id of the clientencryptUserLogin- the encrypted user login- Returns:
 Benutzerornull
 
- 
byLDAPGruppeLogin
public Benutzer byLDAPGruppeLogin(UserContext uc, Mandant man, String userLogin, String userPwd)
Deprecated.Description copied from interface:IBenutzerHandlerMethode zum Auslesen und Erzeugen eines temporären Benutzers aus einer LDAP-Gruppe- Specified by:
 byLDAPGruppeLoginin interfaceIBenutzerHandler- Parameters:
 uc- theUserContextto useman- the clientuserLogin- the user nameuserPwd- the user password- Returns:
 - an 
Benutzerornull 
 
- 
byLDAPGruppe
public Benutzer byLDAPGruppe(UserContext uc, String username, Mandant mandant)
Deprecated.- Specified by:
 byLDAPGruppein interfaceIBenutzerHandler
 
- 
getLDAPUserData
public com.alibaba.fastjson.JSONObject getLDAPUserData(UserContext uc, Benutzer benutzer)
Deprecated.- Specified by:
 getLDAPUserDatain interfaceIBenutzerHandler
 
- 
getByLDAPData
public Benutzer getByLDAPData(UserContext uc, Mandant mandant, String userName, byte[] objectID)
Deprecated.- Specified by:
 getByLDAPDatain interfaceIBenutzerHandler
 
- 
getByUUID
public Benutzer getByUUID(UserContext uc, Mandant client, String uuid)
Deprecated.Description copied from interface:IBenutzerHandlerReturns the user with the given UUID string- Specified by:
 getByUUIDin interfaceIBenutzerHandler- Parameters:
 uc-UserContextto useclient-Mandantcontext in which to look for useruuid-StringUUID string of the user- Returns:
 Benutzerfor the given UUID and client
 
- 
getByUUID
public Benutzer getByUUID(UserContext uc, Mandant client, UUID uuid)
Deprecated.Description copied from interface:IBenutzerHandlerReturns the user with the given UUID- Specified by:
 getByUUIDin interfaceIBenutzerHandler- Parameters:
 uc-UserContextto useclient-Mandantcontext in which to look for useruuid-UUIDUUID of the user- Returns:
 Benutzerfor the given UUID and client
 
- 
handleUserLogin
public Benutzer handleUserLogin(UserContext uc, Benutzer user)
Deprecated.- Specified by:
 handleUserLoginin interfaceIBenutzerHandler
 
- 
generatePassword
public String generatePassword()
Deprecated.Description copied from interface:IBenutzerHandlerGenerates a new password according the system configured password policies.- Specified by:
 generatePasswordin interfaceIBenutzerHandler- Returns:
 - an generated password
 
 
 - 
 
 -