Class RemoteIdmServiceImpl
- java.lang.Object
-
- org.flowable.ui.common.service.idm.RemoteIdmServiceImpl
-
- All Implemented Interfaces:
RemoteIdmService
public class RemoteIdmServiceImpl extends Object implements RemoteIdmService
-
-
Field Summary
Fields Modifier and Type Field Description protected StringadminPasswordprotected StringadminUserprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected Stringurl
-
Constructor Summary
Constructors Constructor Description RemoteIdmServiceImpl(FlowableCommonAppProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteUserauthenticateUser(String username, String password)protected com.fasterxml.jackson.databind.JsonNodecallRemoteIdmService(String url, String username, String password)protected Stringencode(String s)List<RemoteGroup>findGroupsByNameFilter(String filter)List<RemoteUser>findUsersByGroup(String groupId)List<RemoteUser>findUsersByNameFilter(String filter)RemoteGroupgetGroup(String groupId)RemoteTokengetToken(String tokenValue)RemoteUsergetUser(String userId)protected RemoteGroupparseGroupInfo(com.fasterxml.jackson.databind.JsonNode json)protected List<RemoteGroup>parseGroupsInfo(com.fasterxml.jackson.databind.JsonNode json)protected RemoteUserparseUserInfo(com.fasterxml.jackson.databind.JsonNode json)protected List<RemoteUser>parseUsersInfo(com.fasterxml.jackson.databind.JsonNode json)
-
-
-
Constructor Detail
-
RemoteIdmServiceImpl
public RemoteIdmServiceImpl(FlowableCommonAppProperties properties)
-
-
Method Detail
-
authenticateUser
public RemoteUser authenticateUser(String username, String password)
- Specified by:
authenticateUserin interfaceRemoteIdmService
-
getToken
public RemoteToken getToken(String tokenValue)
- Specified by:
getTokenin interfaceRemoteIdmService
-
getUser
public RemoteUser getUser(String userId)
- Specified by:
getUserin interfaceRemoteIdmService
-
findUsersByNameFilter
public List<RemoteUser> findUsersByNameFilter(String filter)
- Specified by:
findUsersByNameFilterin interfaceRemoteIdmService
-
findUsersByGroup
public List<RemoteUser> findUsersByGroup(String groupId)
- Specified by:
findUsersByGroupin interfaceRemoteIdmService
-
getGroup
public RemoteGroup getGroup(String groupId)
- Specified by:
getGroupin interfaceRemoteIdmService
-
findGroupsByNameFilter
public List<RemoteGroup> findGroupsByNameFilter(String filter)
- Specified by:
findGroupsByNameFilterin interfaceRemoteIdmService
-
callRemoteIdmService
protected com.fasterxml.jackson.databind.JsonNode callRemoteIdmService(String url, String username, String password)
-
parseUsersInfo
protected List<RemoteUser> parseUsersInfo(com.fasterxml.jackson.databind.JsonNode json)
-
parseUserInfo
protected RemoteUser parseUserInfo(com.fasterxml.jackson.databind.JsonNode json)
-
parseGroupsInfo
protected List<RemoteGroup> parseGroupsInfo(com.fasterxml.jackson.databind.JsonNode json)
-
parseGroupInfo
protected RemoteGroup parseGroupInfo(com.fasterxml.jackson.databind.JsonNode json)
-
-