Class FlowableSecurityScopeProvider
java.lang.Object
com.flowable.core.spring.security.FlowableSecurityScopeProvider
- All Implemented Interfaces:
SecurityScopeProvider
- Author:
- Filip Hrisafov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSecurityScope
(Principal principal) Get the Flowable Security scope from the given principal.
-
Constructor Details
-
FlowableSecurityScopeProvider
public FlowableSecurityScopeProvider()
-
-
Method Details
-
getSecurityScope
Description copied from interface:SecurityScopeProvider
Get the Flowable Security scope from the given principal. It should never be null.- Specified by:
getSecurityScope
in interfaceSecurityScopeProvider
- Parameters:
principal
- the authentication for the security scope- Returns:
- the non null security scope for the given principal
-