public class InMemoryUserManager extends Object implements org.wso2.charon3.core.extensions.UserManager
| Constructor and Description |
|---|
InMemoryUserManager() |
| Modifier and Type | Method and Description |
|---|---|
org.wso2.charon3.core.objects.Group |
createGroup(org.wso2.charon3.core.objects.Group group,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
createMe(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
createUser(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map) |
void |
deleteGroup(String id) |
void |
deleteMe(String s) |
void |
deleteUser(String id) |
org.wso2.charon3.core.objects.Group |
getGroup(String id,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
getMe(String s,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
getUser(String id,
Map<String,Boolean> map) |
List<Object> |
listGroupsWithGET(org.wso2.charon3.core.utils.codeutils.Node rootNode,
int startIndex,
int count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes) |
List<Object> |
listGroupsWithPost(org.wso2.charon3.core.utils.codeutils.SearchRequest searchRequest,
Map<String,Boolean> requiredAttributes) |
List<Object> |
listUsersWithGET(org.wso2.charon3.core.utils.codeutils.Node rootNode,
int startIndex,
int count,
String sortBy,
String sortOrder,
String domainName,
Map<String,Boolean> requiredAttributes) |
List<Object> |
listUsersWithPost(org.wso2.charon3.core.utils.codeutils.SearchRequest searchRequest,
Map<String,Boolean> requiredAttributes) |
org.wso2.charon3.core.objects.Group |
updateGroup(org.wso2.charon3.core.objects.Group group,
org.wso2.charon3.core.objects.Group group1,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
updateMe(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map) |
org.wso2.charon3.core.objects.User |
updateUser(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map) |
public org.wso2.charon3.core.objects.User createUser(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.ConflictException,
org.wso2.charon3.core.exceptions.BadRequestException
createUser in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.ConflictExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic org.wso2.charon3.core.objects.User getUser(String id, Map<String,Boolean> map) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.BadRequestException, org.wso2.charon3.core.exceptions.NotFoundException
getUser in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic void deleteUser(String id) throws org.wso2.charon3.core.exceptions.NotFoundException, org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
deleteUser in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotFoundExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic List<Object> listUsersWithGET(org.wso2.charon3.core.utils.codeutils.Node rootNode, int startIndex, int count, String sortBy, String sortOrder, String domainName, Map<String,Boolean> requiredAttributes) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
listUsersWithGET in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic List<Object> listUsersWithPost(org.wso2.charon3.core.utils.codeutils.SearchRequest searchRequest, Map<String,Boolean> requiredAttributes) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
listUsersWithPost in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic org.wso2.charon3.core.objects.User updateUser(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.NotImplementedException,
org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.BadRequestException,
org.wso2.charon3.core.exceptions.NotFoundException
updateUser in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic org.wso2.charon3.core.objects.User getMe(String s, Map<String,Boolean> map) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.BadRequestException, org.wso2.charon3.core.exceptions.NotFoundException
getMe in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic org.wso2.charon3.core.objects.User createMe(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.ConflictException,
org.wso2.charon3.core.exceptions.BadRequestException
createMe in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.ConflictExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic void deleteMe(String s) throws org.wso2.charon3.core.exceptions.NotFoundException, org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
deleteMe in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotFoundExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic org.wso2.charon3.core.objects.User updateMe(org.wso2.charon3.core.objects.User user,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.NotImplementedException,
org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.BadRequestException,
org.wso2.charon3.core.exceptions.NotFoundException
updateMe in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic org.wso2.charon3.core.objects.Group createGroup(org.wso2.charon3.core.objects.Group group,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.ConflictException,
org.wso2.charon3.core.exceptions.NotImplementedException,
org.wso2.charon3.core.exceptions.BadRequestException
createGroup in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.ConflictExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic org.wso2.charon3.core.objects.Group getGroup(String id, Map<String,Boolean> map) throws org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException, org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotFoundException
getGroup in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic void deleteGroup(String id) throws org.wso2.charon3.core.exceptions.NotFoundException, org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
deleteGroup in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotFoundExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic List<Object> listGroupsWithGET(org.wso2.charon3.core.utils.codeutils.Node rootNode, int startIndex, int count, String sortBy, String sortOrder, String domainName, Map<String,Boolean> requiredAttributes) throws org.wso2.charon3.core.exceptions.CharonException, org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException
listGroupsWithGET in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionpublic org.wso2.charon3.core.objects.Group updateGroup(org.wso2.charon3.core.objects.Group group,
org.wso2.charon3.core.objects.Group group1,
Map<String,Boolean> map)
throws org.wso2.charon3.core.exceptions.NotImplementedException,
org.wso2.charon3.core.exceptions.BadRequestException,
org.wso2.charon3.core.exceptions.CharonException,
org.wso2.charon3.core.exceptions.NotFoundException
updateGroup in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.CharonExceptionorg.wso2.charon3.core.exceptions.NotFoundExceptionpublic List<Object> listGroupsWithPost(org.wso2.charon3.core.utils.codeutils.SearchRequest searchRequest, Map<String,Boolean> requiredAttributes) throws org.wso2.charon3.core.exceptions.NotImplementedException, org.wso2.charon3.core.exceptions.BadRequestException, org.wso2.charon3.core.exceptions.CharonException
listGroupsWithPost in interface org.wso2.charon3.core.extensions.UserManagerorg.wso2.charon3.core.exceptions.NotImplementedExceptionorg.wso2.charon3.core.exceptions.BadRequestExceptionorg.wso2.charon3.core.exceptions.CharonExceptionCopyright © 2019 WSO2. All rights reserved.