Class UserACLFilter

  • All Implemented Interfaces:
    UIExtensionFilter

    public class UserACLFilter
    extends Object
    implements UIExtensionFilter
    This filter is used to add some access permissions to a specific extension Created by The eXo Platform SAS Author : eXoPlatform nicolas.filotto@exoplatform.com 14 mai 2009
    • Field Detail

      • permissions

        protected List<String> permissions
        The list of all access permissions allowed
    • Constructor Detail

      • UserACLFilter

        public UserACLFilter()
    • Method Detail

      • accept

        public boolean accept​(Map<String,​Object> context)
                       throws Exception
        Indicates whether the given context is accepted by this filter
        Specified by:
        accept in interface UIExtensionFilter
        Parameters:
        context - the context to check
        Returns:
        true if the context is accepted false otherwise
        Throws:
        Exception - if an error occurs