Class UserRightsCache

java.lang.Object
de.hybris.platform.cockpit.services.impl.UserRightsCache

public class UserRightsCache extends Object
Cache of type based user rights for a single principal. Should be used on session or request scope.
  • Constructor Details

    • UserRightsCache

      public UserRightsCache()
    • UserRightsCache

      public UserRightsCache(int maxSize)
  • Method Details

    • addRight

      public void addRight(PK relatedObject, String right, boolean value)
    • getRight

      public Boolean getRight(PK relatedObject, String right)
    • clear

      public void clear()