Class FlowableSecurityScopeProvider
java.lang.Object
com.flowable.core.spring.security.FlowableSecurityScopeProvider
- All Implemented Interfaces:
SecurityScopeProvider
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final String
The authority prefix that the granted authorities that are applicable for the scope should have -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSecurityScope
(Principal principal) Get the Flowable Security scope from the given principal.
-
Field Details
-
authorityPrefix
The authority prefix that the granted authorities that are applicable for the scope should have
-
-
Constructor Details
-
FlowableSecurityScopeProvider
public FlowableSecurityScopeProvider() -
FlowableSecurityScopeProvider
- Parameters:
authorityPrefix
- the prefix for all the granted authorities that are applicable for the Flowable security
-
-
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
-