Class AdminPermissionHydrationService

java.lang.Object
com.broadleafcommerce.adminuser.user.service.hydration.AdminPermissionHydrationService

@Deprecated public class AdminPermissionHydrationService extends Object
Deprecated.
since 1.7.0. Roles and permissions are managed in auth. Use AuthProvider
A simple service that hydrates AdminPermissionRef with values from the data store.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

  • Method Details

    • hydratePermissionReferences

      public Set<AdminPermissionRef> hydratePermissionReferences(Set<AdminPermissionRef> toHydrate)
      Deprecated.
      Queries for each element in toHydrate in the data store. Returns a new set of elements that are either the hydrated permissions (for each element that was found), or the given permissions as-is (for each element that was not found).
      Parameters:
      toHydrate - the set of elements to hydrate
      Returns:
      a new set of hydrated elements
    • getAdminPermissionService

      @NonNull protected AdminPermissionService<AdminPermission> getAdminPermissionService()
      Deprecated.