Class FlowablePrincipalSecurityScope
java.lang.Object
com.flowable.core.spring.security.FlowablePrincipalSecurityScope
- All Implemented Interfaces:
SecurityScope
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe group keys for which the security scope is meant forThe tenant id for which the security scope is meant forThe user definition key for which the security scope is meant forThe id of the user for which the security scope is meant forboolean
hasAuthority
(String authority) Check if the security scope has the given authority.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.core.common.api.security.SecurityScope
getImpersonationScope
-
Field Details
-
principal
-
-
Constructor Details
-
FlowablePrincipalSecurityScope
-
-
Method Details
-
getUserId
Description copied from interface:SecurityScope
The id of the user for which the security scope is meant for- Specified by:
getUserId
in interfaceSecurityScope
- Returns:
- the user id
-
getGroupKeys
Description copied from interface:SecurityScope
The group keys for which the security scope is meant for- Specified by:
getGroupKeys
in interfaceSecurityScope
- Returns:
- the group keys
-
getTenantId
Description copied from interface:SecurityScope
The tenant id for which the security scope is meant for- Specified by:
getTenantId
in interfaceSecurityScope
- Returns:
- the tenant id
-
getUserDefinitionKey
Description copied from interface:SecurityScope
The user definition key for which the security scope is meant for- Specified by:
getUserDefinitionKey
in interfaceSecurityScope
- Returns:
- the user definition key
-
hasAuthority
Description copied from interface:SecurityScope
Check if the security scope has the given authority.- Specified by:
hasAuthority
in interfaceSecurityScope
- Parameters:
authority
- the authority to be checked- Returns:
true
if the security scope has the given authority,false
otherwise
-