Class UserRightsCache


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRight​(PK relatedObject, java.lang.String right, boolean value)  
      void clear()  
      java.lang.Boolean getRight​(PK relatedObject, java.lang.String right)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UserRightsCache

        public UserRightsCache()
      • UserRightsCache

        public UserRightsCache​(int maxSize)
    • Method Detail

      • addRight

        public void addRight​(PK relatedObject,
                             java.lang.String right,
                             boolean value)
      • getRight

        public java.lang.Boolean getRight​(PK relatedObject,
                                          java.lang.String right)
      • clear

        public void clear()