Class AuthenticationFlowuiPolicyStore
java.lang.Object
io.jmix.securityflowui.impl.constraint.AuthenticationFlowuiPolicyStore
- All Implemented Interfaces:
FlowuiPolicyStore
@Component("sec_AuthenticationFlowuiPolicyStore")
public class AuthenticationFlowuiPolicyStore
extends Object
implements FlowuiPolicyStore
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Stream<T>
getMenuResourcePolicies
(String menuId) protected String
getScope
(org.springframework.security.core.Authentication authentication) getScreenResourcePolicies
(String windowId) protected boolean
isAppliedForScope
(PolicyAwareGrantedAuthority policyAwareAuthority, String scope)
-
Field Details
-
currentAuthentication
-
-
Constructor Details
-
AuthenticationFlowuiPolicyStore
public AuthenticationFlowuiPolicyStore()
-
-
Method Details
-
getScreenResourcePolicies
- Specified by:
getScreenResourcePolicies
in interfaceFlowuiPolicyStore
-
getMenuResourcePolicies
- Specified by:
getMenuResourcePolicies
in interfaceFlowuiPolicyStore
-
extractFromAuthenticationByScope
protected <T> Stream<T> extractFromAuthenticationByScope(Function<PolicyAwareGrantedAuthority, Stream<T>> extractor) -
getScope
@Nullable protected String getScope(org.springframework.security.core.Authentication authentication) -
isAppliedForScope
protected boolean isAppliedForScope(PolicyAwareGrantedAuthority policyAwareAuthority, @Nullable String scope)
-