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[]
additionalAdminUsers
protected java.lang.Integer
defaultListResponseSize
protected PlatformSecurityInterceptor
platformSecurityInterceptor
-
Constructor Summary
Constructors Constructor Description BaseIdmResource()
-
Method Summary
Modifier and Type Method Description protected boolean
currentUserHasAdminRights()
protected boolean
currentUserHasAuthority(java.lang.String authority)
protected boolean
currentUserHasIdmAccess()
protected boolean
currentUserIsSuperAdmin()
void
setPlatformSecurityInterceptor(PlatformSecurityInterceptor platformSecurityInterceptor)
protected void
validateTenantAdminRights(java.lang.String tenantId)
protected void
validateTenantAwareAdminRights(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)
-