public class DbReadOnlyIdentityServiceProvider extends AbstractManager implements ReadOnlyIdentityProvider
Read only implementation of DB-backed identity service
| Constructor and Description |
|---|
DbReadOnlyIdentityServiceProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkAuthorization(Permission permission,
Resource resource,
String resourceId) |
boolean |
checkPassword(String userId,
String password) |
protected void |
configureQuery(AbstractQuery query,
Resource resource) |
GroupQuery |
createGroupQuery() |
GroupQuery |
createGroupQuery(CommandContext commandContext) |
UserQuery |
createUserQuery() |
UserQueryImpl |
createUserQuery(CommandContext commandContext) |
GroupEntity |
findGroupById(String groupId) |
List<Group> |
findGroupByQueryCriteria(DbGroupQueryImpl query) |
long |
findGroupCountByQueryCriteria(DbGroupQueryImpl query) |
UserEntity |
findUserById(String userId) |
List<User> |
findUserByQueryCriteria(DbUserQueryImpl query) |
long |
findUserCountByQueryCriteria(DbUserQueryImpl query) |
protected boolean |
matchPassword(String password,
User user) |
close, delete, deleteAuthorizations, deleteDefaultAuthorizations, flush, getAttachmentManager, getAuthorizationManager, getByteArrayManager, getCaseDefinitionManager, getCaseExecutionManager, getCaseInstanceManager, getCommandContext, getCurrentAuthentication, getDbEntityManager, getDbSqlSession, getDeploymentManager, getEventSubscriptionManager, getHistoricActivityInstanceManager, getHistoricCaseActivityInstanceManager, getHistoricCaseInstanceManager, getHistoricDetailManager, getHistoricIncidentManager, getHistoricJobLogManager, getHistoricProcessInstanceManager, getHistoricTaskInstanceManager, getHistoricVariableInstanceManager, getIdentityInfoManager, getIdentityLinkManager, getJobDefinitionManager, getJobManager, getProcessDefinitionManager, getProcessInstanceManager, getResourceAuthorizationProvider, getResourceManager, getSession, getTaskManager, getUserOperationLogManager, getVariableInstanceManager, insert, isAuthorizationEnabled, saveDefaultAuthorizationspublic UserEntity findUserById(String userId)
findUserById in interface ReadOnlyIdentityProviderUser object for the given user id or null if no such user exists.public UserQuery createUserQuery()
createUserQuery in interface ReadOnlyIdentityProviderUserQuery object which can be used for querying for users.public UserQueryImpl createUserQuery(CommandContext commandContext)
createUserQuery in interface ReadOnlyIdentityProviderUserQuery object which can be used in the current command contextpublic long findUserCountByQueryCriteria(DbUserQueryImpl query)
public List<User> findUserByQueryCriteria(DbUserQueryImpl query)
public boolean checkPassword(String userId, String password)
checkPassword in interface ReadOnlyIdentityProviderpublic GroupEntity findGroupById(String groupId)
findGroupById in interface ReadOnlyIdentityProviderGroup object for the given group id or null if no such group exists.public GroupQuery createGroupQuery()
createGroupQuery in interface ReadOnlyIdentityProviderGroupQuery object which can be used for querying for groups.public GroupQuery createGroupQuery(CommandContext commandContext)
createGroupQuery in interface ReadOnlyIdentityProviderGroupQuery object which can be used for querying for groups and can be reused in the current command context.public long findGroupCountByQueryCriteria(DbGroupQueryImpl query)
public List<Group> findGroupByQueryCriteria(DbGroupQueryImpl query)
protected void configureQuery(AbstractQuery query, Resource resource)
configureQuery in class AbstractManagerprotected void checkAuthorization(Permission permission, Resource resource, String resourceId)
checkAuthorization in class AbstractManagerCopyright © 2018. All rights reserved.