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.SecurityScope
public Set<String> getGroupKeys()
getGroupKeys
in interface com.flowable.core.common.api.security.SecurityScope
public String getTenantId()
getTenantId
in interface com.flowable.core.common.api.security.SecurityScope
public String getUserDefinitionKey()
getUserDefinitionKey
in interface com.flowable.core.common.api.security.SecurityScope
public boolean hasAuthority(String authority)
hasAuthority
in interface com.flowable.core.common.api.security.SecurityScope
Copyright © 2019. All rights reserved.