public class LDAPActions extends Object
| Constructor and Description |
|---|
LDAPActions() |
| Modifier and Type | Method and Description |
|---|---|
com.unboundid.ldap.sdk.Entry |
createUser(String username,
String email,
String firstName,
String lastName,
String institution,
String password) |
com.unboundid.ldap.sdk.Entry |
createZombieUser(String username,
String email,
String firstName,
String lastName,
String institution,
String password) |
void |
deleteUser(String username) |
void |
deleteZombieUser(String username) |
boolean |
emailExists(String email) |
LDAPConnector |
getLdapConnector() |
String |
getUsername(String email) |
String |
getUsersEmail(String username) |
String |
getZombieUsersEmail(String username) |
String |
getZombieUsersUserName(String email) |
boolean |
isZombieUsersEmail(String email) |
boolean |
isZombieUsersUsername(String username) |
void |
moveUser(String username) |
void |
resetPassword(String username,
String password) |
void |
setLdapConnector(LDAPConnector ldapConnector) |
void |
updateUser(String username,
String email,
String firstName,
String lastName,
String password) |
boolean |
usernameExists(String username) |
public String getUsername(String email) throws com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPExceptionpublic com.unboundid.ldap.sdk.Entry createUser(String username, String email, String firstName, String lastName, String institution, String password) throws Exception
Exceptionpublic void updateUser(String username, String email, String firstName, String lastName, String password) throws Exception
Exceptionpublic com.unboundid.ldap.sdk.Entry createZombieUser(String username, String email, String firstName, String lastName, String institution, String password) throws Exception
Exceptionpublic boolean isZombieUsersEmail(String email) throws Exception
Exceptionpublic boolean isZombieUsersUsername(String username) throws Exception
Exceptionpublic String getZombieUsersEmail(String username) throws Exception
Exceptionpublic String getZombieUsersUserName(String email) throws com.unboundid.ldap.sdk.LDAPException
com.unboundid.ldap.sdk.LDAPExceptionpublic void resetPassword(String username, String password) throws Exception
Exceptionpublic LDAPConnector getLdapConnector()
public void setLdapConnector(LDAPConnector ldapConnector)
Copyright © 2026. All rights reserved.