Interface SecurityServicePlugin

All Known Implementing Classes:
DefaultSecurityServicePlugin

public interface SecurityServicePlugin

SecurityServicePlugin interface.

Version:
$Id: $Id
Author:
matthieu
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(org.alfresco.service.namespace.QName nodeType)
    accept.
    boolean
    checkIsInSecurityGroup(org.alfresco.service.cmr.repository.NodeRef nodeRef, List<org.alfresco.service.cmr.repository.NodeRef> groups)
    checkIsInSecurityGroup.
    default int
    getMaxAccessMode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
    getMaxAccessMode.
  • Method Details

    • checkIsInSecurityGroup

      boolean checkIsInSecurityGroup(org.alfresco.service.cmr.repository.NodeRef nodeRef, List<org.alfresco.service.cmr.repository.NodeRef> groups)

      checkIsInSecurityGroup.

      Parameters:
      nodeRef - a NodeRef object
      groups - a List object
      Returns:
      a boolean
    • accept

      boolean accept(org.alfresco.service.namespace.QName nodeType)

      accept.

      Parameters:
      nodeType - a QName object
      Returns:
      a boolean
    • getMaxAccessMode

      default int getMaxAccessMode(org.alfresco.service.cmr.repository.NodeRef nodeRef)

      getMaxAccessMode.

      Returns the maximum access mode this plugin allows for the given node. This method should return the plugin's own access restriction without considering the input access mode.
      Parameters:
      nodeRef - a NodeRef object
      Returns:
      a int representing the maximum allowed access mode