public static class MemoryUserSessionFactory.MemoryUser extends MapContact implements LdapPrincipal, LdapContact
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MemoryUser(String alias,
String password,
String givenName,
String surname) |
| Modifier and Type | Method and Description |
|---|---|
Object |
authenticate(String user,
String password) |
boolean |
authorise(Request request,
Request.Method method,
Auth auth) |
String |
checkRedirect(Request request) |
String |
getCommonName() |
Date |
getCreateDate() |
String |
getEtag() |
String |
getGivenName() |
String |
getMail() |
Date |
getModifiedDate() |
String |
getName() |
String |
getPassword() |
String |
getRealm() |
String |
getSurName() |
List<LdapContact> |
searchContacts(Condition condition,
int maxCount)
Search for contacts in this user's private contact list.
|
void |
setGivenName(String givenName) |
void |
setMail(String s) |
void |
setPassword(String password) |
void |
setSurName(String surname) |
getUniqueIdclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetUniqueIdpublic List<LdapContact> searchContacts(Condition condition, int maxCount)
LdapPrincipalsearchContacts in interface LdapPrincipalpublic String getPassword()
public void setPassword(String password)
public String getEtag()
public String getGivenName()
public final void setGivenName(String givenName)
public String getSurName()
public final void setSurName(String surname)
public String getMail()
public void setMail(String s)
public String getCommonName()
public Date getCreateDate()
getCreateDate in interface PropFindableResourcegetCreateDate in class MapContactpublic String getName()
getName in interface ResourcegetName in class MapContactpublic Object authenticate(String user, String password)
authenticate in interface Resourceauthenticate in class MapContactpublic boolean authorise(Request request, Request.Method method, Auth auth)
authorise in interface Resourceauthorise in class MapContactpublic String getRealm()
getRealm in interface ResourcegetRealm in class MapContactpublic Date getModifiedDate()
getModifiedDate in interface ResourcegetModifiedDate in class MapContactpublic String checkRedirect(Request request)
checkRedirect in interface ResourcecheckRedirect in class MapContactCopyright © 2021 McEvoy Software Ltd. All rights reserved.