@Service public class RemoteIdmServiceImpl extends Object implements RemoteIdmService
| Modifier and Type | Field and Description |
|---|---|
protected String |
adminPassword |
protected String |
adminUser |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected String |
url |
| Constructor and Description |
|---|
RemoteIdmServiceImpl(FlowableCommonAppProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
RemoteUser |
authenticateUser(String username,
String password) |
protected com.fasterxml.jackson.databind.JsonNode |
callRemoteIdmService(String url,
String username,
String password) |
protected String |
encode(String s) |
List<RemoteGroup> |
findGroupsByNameFilter(String filter) |
List<RemoteUser> |
findUsersByGroup(String groupId) |
List<RemoteUser> |
findUsersByNameFilter(String filter) |
RemoteGroup |
getGroup(String groupId) |
RemoteToken |
getToken(String tokenValue) |
RemoteUser |
getUser(String userId) |
protected RemoteGroup |
parseGroupInfo(com.fasterxml.jackson.databind.JsonNode json) |
protected List<RemoteGroup> |
parseGroupsInfo(com.fasterxml.jackson.databind.JsonNode json) |
protected RemoteUser |
parseUserInfo(com.fasterxml.jackson.databind.JsonNode json) |
protected List<RemoteUser> |
parseUsersInfo(com.fasterxml.jackson.databind.JsonNode json) |
@Autowired protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected String url
protected String adminUser
protected String adminPassword
public RemoteIdmServiceImpl(FlowableCommonAppProperties properties)
public RemoteUser authenticateUser(String username, String password)
authenticateUser in interface RemoteIdmServicepublic RemoteToken getToken(String tokenValue)
getToken in interface RemoteIdmServicepublic RemoteUser getUser(String userId)
getUser in interface RemoteIdmServicepublic List<RemoteUser> findUsersByNameFilter(String filter)
findUsersByNameFilter in interface RemoteIdmServicepublic List<RemoteUser> findUsersByGroup(String groupId)
findUsersByGroup in interface RemoteIdmServicepublic RemoteGroup getGroup(String groupId)
getGroup in interface RemoteIdmServicepublic List<RemoteGroup> findGroupsByNameFilter(String filter)
findGroupsByNameFilter in interface RemoteIdmServiceprotected com.fasterxml.jackson.databind.JsonNode callRemoteIdmService(String url, String username, String password)
protected List<RemoteUser> parseUsersInfo(com.fasterxml.jackson.databind.JsonNode json)
protected RemoteUser parseUserInfo(com.fasterxml.jackson.databind.JsonNode json)
protected List<RemoteGroup> parseGroupsInfo(com.fasterxml.jackson.databind.JsonNode json)
protected RemoteGroup parseGroupInfo(com.fasterxml.jackson.databind.JsonNode json)
Copyright © 2018 Flowable. All rights reserved.