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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> Stream<T>getMenuResourcePolicies(String menuId) protected StringgetScope(org.springframework.security.core.Authentication authentication) getViewResourcePolicies(String viewId) protected booleanisAppliedForScope(PolicyAwareGrantedAuthority policyAwareAuthority, String scope)
-
Field Details
-
currentAuthentication
-
-
Constructor Details
-
AuthenticationFlowuiPolicyStore
public AuthenticationFlowuiPolicyStore()
-
-
Method Details
-
getViewResourcePolicies
- Specified by:
getViewResourcePoliciesin interfaceFlowuiPolicyStore
-
getMenuResourcePolicies
- Specified by:
getMenuResourcePoliciesin 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)
-