Package io.milton.ldap
Interface LdapPrincipal
- All Superinterfaces:
LdapContact,PropFindableResource,Resource
- All Known Implementing Classes:
MemoryUserSessionFactory.MemoryUser
An LDAP principal (ie a user) is simply a contact which can contain other contacts, since
we often allow users to maintain their own private address books as well as
accessing the global contact list
Note that we imply certain meaning to properties defined elsewhere. The name
of the Resource is assumed to be the username of the principal, so is mapped
onto the "uid" ldap attribute.
- Author:
- brad
-
Method Summary
Modifier and TypeMethodDescriptionsearchContacts(Condition condition, int maxCount) Search for contacts in this user's private contact list.Methods inherited from interface io.milton.resource.PropFindableResource
getCreateDateMethods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
Method Details
-
searchContacts
Search for contacts in this user's private contact list. Generally these contacts will not be User accounts- Parameters:
contactReturningAttributes-condition-maxCount-- Returns:
-