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.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.