public class FlowableAuthenticationSecurityScope extends Object implements com.flowable.core.common.api.security.SecurityScope
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.security.core.Authentication |
authentication |
| Constructor and Description |
|---|
FlowableAuthenticationSecurityScope(org.springframework.security.core.Authentication authentication) |
| Modifier and Type | Method and Description |
|---|---|
protected Stream<String> |
extractAuthoritiesStartingWith(String prefix) |
Set<String> |
getGroupKeys() |
String |
getTenantId() |
String |
getUserDefinitionKey() |
String |
getUserId() |
boolean |
hasAuthority(String authority) |
protected final org.springframework.security.core.Authentication authentication
public FlowableAuthenticationSecurityScope(org.springframework.security.core.Authentication authentication)
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.