public class FlowablePrincipalSecurityScope extends Object implements com.flowable.core.common.api.security.SecurityScope
| Constructor and Description |
|---|
FlowablePrincipalSecurityScope(Principal principal) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getGroupKeys() |
String |
getTenantId() |
String |
getUserDefinitionKey() |
String |
getUserId() |
boolean |
hasAuthority(String authority) |
protected final Principal principal
public FlowablePrincipalSecurityScope(Principal principal)
public String getUserId()
getUserId in interface com.flowable.core.common.api.security.SecurityScopepublic Set<String> getGroupKeys()
getGroupKeys in interface com.flowable.core.common.api.security.SecurityScopepublic String getTenantId()
getTenantId in interface com.flowable.core.common.api.security.SecurityScopepublic String getUserDefinitionKey()
getUserDefinitionKey in interface com.flowable.core.common.api.security.SecurityScopepublic boolean hasAuthority(String authority)
hasAuthority in interface com.flowable.core.common.api.security.SecurityScopeCopyright © 2019. All rights reserved.