Class FlowableSecurityScopeProvider
java.lang.Object
com.flowable.core.spring.security.FlowableSecurityScopeProvider
- All Implemented Interfaces:
SecurityScopeProvider
public class FlowableSecurityScopeProvider extends java.lang.Object implements SecurityScopeProvider
- Author:
- Filip Hrisafov
-
Constructor Summary
Constructors Constructor Description FlowableSecurityScopeProvider()
-
Method Summary
Modifier and Type Method Description SecurityScope
getSecurityScope(java.security.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
-