Class FlowableSecurityScopeProvider
- java.lang.Object
-
- com.flowable.core.spring.security.FlowableSecurityScopeProvider
-
- All Implemented Interfaces:
SecurityScopeProvider
public class FlowableSecurityScopeProvider extends Object implements SecurityScopeProvider
- Author:
- Filip Hrisafov
-
-
Constructor Summary
Constructors Constructor Description FlowableSecurityScopeProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityScope
getSecurityScope(Principal principal)
Get the Flowable Security scope from the given principal.
-
-
-
Method Detail
-
getSecurityScope
public SecurityScope getSecurityScope(Principal principal)
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
-
-