Uses of Class
com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor.support.AuthenticationVendorPrivilegesSummary
-
-
Uses of AuthenticationVendorPrivilegesSummary in com.broadleafcommerce.data.tracking.core.cache.marketplace.vendor
Methods in com.broadleafcommerce.data.tracking.core.cache.marketplace.vendor with parameters of type AuthenticationVendorPrivilegesSummary Modifier and Type Method Description protected void
CatalogVendorAwareCacheKeyEnhancer. addPropertiesToCacheKey(Set<String> currentRequiredPolicyRoots, AuthenticationVendorPrivilegesSummary vendorPrivilegesSummary, String requestedCatalogVendorRef, com.fasterxml.jackson.databind.node.ObjectNode cacheKey)
protected void
DefaultVendorAwareCacheKeyEnhancer. addPropertiesToCacheKey(Set<String> currentRequiredPolicyRoots, AuthenticationVendorPrivilegesSummary vendorPrivilegesSummary, com.fasterxml.jackson.databind.node.ObjectNode cacheKey)
protected Set<String>
CatalogVendorAwareCacheKeyEnhancer. getRestrictedAuthoritiesGrantedToRequestedVendor(Set<String> currentRequiredPolicyRoots, AuthenticationVendorPrivilegesSummary vendorPrivilegesSummary, String requestedVendor)
Caching will pretty much only ever be used on read operations, but we can't just filter to vendor restrictions matching the current policy requirements since theContextStateBuilder
's mutability check to setContextState.getMutable()
will perform policy validation against _updates_ as well.protected Map<String,Set<String>>
DefaultVendorAwareCacheKeyEnhancer. getVendorRefsByRelevantRestrictedAuthority(Set<String> currentRequiredPolicyRoots, AuthenticationVendorPrivilegesSummary vendorPrivilegesSummary)
Caching will pretty much only ever be used on read operations, but we can't just filter to vendor restrictions matching the current policy requirements since theContextStateBuilder
's mutability check to setContextState.getMutable()
will perform policy validation against _updates_ as well. -
Uses of AuthenticationVendorPrivilegesSummary in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor that return AuthenticationVendorPrivilegesSummary Modifier and Type Method Description AuthenticationVendorPrivilegesSummary
VendorAwareTrackablePolicyUtils. getVendorPrivileges(@NonNull org.springframework.security.core.Authentication authentication)
Obtains the summary of vendor privileges from the given authentication. -
Uses of AuthenticationVendorPrivilegesSummary in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor.support
Methods in com.broadleafcommerce.data.tracking.core.policy.trackable.marketplace.vendor.support that return AuthenticationVendorPrivilegesSummary Modifier and Type Method Description protected AuthenticationVendorPrivilegesSummary
AuthenticationVendorPrivilegesUtility. buildVendorRestrictionsSummary(boolean unrestricted, Set<String> allAuthorities, Set<String> restrictedVendorRefs, Map<String,Set<String>> vendorRefsByRestrictedAuthority)
AuthenticationVendorPrivilegesSummary
AuthenticationVendorPrivilegesUtility. getVendorPrivileges(@NonNull org.springframework.security.core.Authentication authentication, org.springframework.core.convert.converter.Converter<org.springframework.security.core.Authentication,Map<String,Object>> authenticationAttributesConverter)
Extracts the summary of vendor privileges from the given authentication.
-