Class BaseIdmResource
java.lang.Object
com.flowable.idm.rest.service.api.BaseIdmResource
- Direct Known Subclasses:
BaseGroupResource,GroupCollectionResource,IdmEngineResource,PrivilegeCollectionResource,PrivilegeResource,TenantResource,UserBaseResource,UserDefinitionsResource,UserManagementResource,UserPresenceResource,UserResourceService
public abstract class BaseIdmResource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]additionalAdminUsersprotected java.lang.IntegerdefaultListResponseSizeprotected PlatformSecurityInterceptorplatformSecurityInterceptor -
Constructor Summary
Constructors Constructor Description BaseIdmResource() -
Method Summary
Modifier and Type Method Description protected booleancurrentUserHasAdminRights()protected booleancurrentUserHasAuthority(java.lang.String authority)protected booleancurrentUserHasIdmAccess()protected booleancurrentUserIsSuperAdmin()voidsetPlatformSecurityInterceptor(PlatformSecurityInterceptor platformSecurityInterceptor)protected voidvalidateTenantAdminRights(java.lang.String tenantId)protected voidvalidateTenantAwareAdminRights(java.lang.String tenantId)
-
Field Details
-
platformSecurityInterceptor
-
additionalAdminUsers
@Value("${flowable.platform.idm.additional-admin-users:}") protected java.lang.String[] additionalAdminUsers -
defaultListResponseSize
@Value("${flowable.platform.rest.default-list-response-size:100}") protected java.lang.Integer defaultListResponseSize
-
-
Constructor Details
-
BaseIdmResource
public BaseIdmResource()
-
-
Method Details
-
currentUserHasAdminRights
protected boolean currentUserHasAdminRights() -
currentUserHasIdmAccess
protected boolean currentUserHasIdmAccess() -
currentUserHasAuthority
protected boolean currentUserHasAuthority(java.lang.String authority) -
currentUserIsSuperAdmin
protected boolean currentUserIsSuperAdmin() -
validateTenantAwareAdminRights
protected void validateTenantAwareAdminRights(java.lang.String tenantId) -
validateTenantAdminRights
protected void validateTenantAdminRights(java.lang.String tenantId) -
setPlatformSecurityInterceptor
@Autowired(required=false) public void setPlatformSecurityInterceptor(PlatformSecurityInterceptor platformSecurityInterceptor)
-