Modifier and Type | Method and Description |
---|---|
PersonRecord |
LdapService.getPerson(String username)
Gets a PersonRecord (with nested RoleRecords as appropriate) from the LDAP.
|
Modifier and Type | Method and Description |
---|---|
List<PersonRecord> |
LdapService.getListedPersonRecords(boolean bathPeople,
boolean applicants,
boolean externalPeople,
boolean nonPeople)
Returns a list of
PersonRecord s for all the person entries of the specified type(s)
currently present in ou=people in the LDAP. |
static List<PersonRecord> |
LdapUtils.searchPersonRecords(LdapService ldapSvc,
String filter)
Searches for people using the supplied filter, and returns a fully-fledged
PersonRecord object for each one found.
|
static Map<RoleRecord,PersonRecord> |
LdapUtils.searchRoleRecords(LdapService ldapSvc,
String filter)
Searches for roles using the supplied filter and returns a RoleRecord object,
along with the fully-fledged PersonRecord object containing it, for each one
found.
|
Modifier and Type | Method and Description |
---|---|
int |
PersonRecord.compareTo(PersonRecord pr)
Defines a sort order based on username, falling back to the first surname and forename
values, and then the first common name.
|
static AccountState |
AccountState.fromPersonRecord(PersonRecord pr)
Builds an
AccountState instance from data contained in a PersonRecord . |
void |
LdapService.setPerson(PersonRecord personData)
Sets the state of a person in the LDAP from a PersonRecord and any nested
RoleRecords.
|
Copyright © 2018. All rights reserved.