public class LDAPUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static QueryParameter |
MODIFY_DATE |
| Constructor and Description |
|---|
LDAPUtils() |
| Modifier and Type | Method and Description |
|---|---|
static LDAPUser |
addUser(LDAPIdentityStore ldapIdentityStore,
String username,
String firstName,
String lastName,
String email) |
static List<LDAPUser> |
getAllUsers(LDAPIdentityStore ldapIdentityStore) |
static LDAPUser |
getUser(LDAPIdentityStore ldapIdentityStore,
String username) |
static LDAPUser |
getUserByEmail(LDAPIdentityStore ldapIdentityStore,
String email) |
static void |
removeAllUsers(LDAPIdentityStore ldapIdentityStore) |
static boolean |
removeUser(LDAPIdentityStore ldapIdentityStore,
String username) |
static void |
updatePassword(LDAPIdentityStore ldapIdentityStore,
LDAPUser user,
String password) |
static void |
updatePassword(LDAPIdentityStore ldapIdentityStore,
UserModel user,
String password) |
static LDAPUser |
updateUser(LDAPIdentityStore ldapIdentityStore,
String username,
String firstName,
String lastName,
String email) |
static boolean |
validatePassword(LDAPIdentityStore ldapIdentityStore,
LDAPUser user,
String password) |
static boolean |
validatePassword(LDAPIdentityStore ldapIdentityStore,
UserModel user,
String password) |
public static QueryParameter MODIFY_DATE
public static LDAPUser addUser(LDAPIdentityStore ldapIdentityStore, String username, String firstName, String lastName, String email)
public static LDAPUser updateUser(LDAPIdentityStore ldapIdentityStore, String username, String firstName, String lastName, String email)
public static void updatePassword(LDAPIdentityStore ldapIdentityStore, UserModel user, String password)
public static void updatePassword(LDAPIdentityStore ldapIdentityStore, LDAPUser user, String password)
public static boolean validatePassword(LDAPIdentityStore ldapIdentityStore, UserModel user, String password)
public static boolean validatePassword(LDAPIdentityStore ldapIdentityStore, LDAPUser user, String password)
public static LDAPUser getUser(LDAPIdentityStore ldapIdentityStore, String username)
public static LDAPUser getUserByEmail(LDAPIdentityStore ldapIdentityStore, String email)
public static boolean removeUser(LDAPIdentityStore ldapIdentityStore, String username)
public static void removeAllUsers(LDAPIdentityStore ldapIdentityStore)
public static List<LDAPUser> getAllUsers(LDAPIdentityStore ldapIdentityStore)
Copyright © 2015 JBoss by Red Hat. All rights reserved.