Class ExtendedSecurityBaseDynamicAuthority

    • Field Detail

      • applicationContext

        protected org.springframework.context.ApplicationContext applicationContext
        Deprecated.
        Application context
      • modelDAO

        protected org.alfresco.repo.security.permissions.impl.ModelDAO modelDAO
        Deprecated.
        model DAO
      • requiredFor

        protected Set<org.alfresco.repo.security.permissions.PermissionReference> requiredFor
        Deprecated.
        permission reference
    • Constructor Detail

      • ExtendedSecurityBaseDynamicAuthority

        public ExtendedSecurityBaseDynamicAuthority()
        Deprecated.
    • Method Detail

      • getAuthorityService

        protected org.alfresco.service.cmr.security.AuthorityService getAuthorityService()
        Deprecated.
        Returns:
        authority service
      • getExtendedSecurityService

        protected ExtendedSecurityService getExtendedSecurityService()
        Deprecated.
        Returns:
        extended security service
      • getNodeService

        protected org.alfresco.service.cmr.repository.NodeService getNodeService()
        Deprecated.
        Returns:
        node service
      • getModelDAO

        protected org.alfresco.repo.security.permissions.impl.ModelDAO getModelDAO()
        Deprecated.
        Returns:
        model DAO
      • getTransactionCacheName

        protected abstract String getTransactionCacheName()
        Deprecated.
        Returns:
        String transaction cache name
      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext applicationContext)
        Deprecated.
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
        See Also:
        ApplicationContextAware.setApplicationContext(org.springframework.context.ApplicationContext)
      • getAuthorites

        protected abstract Set<String> getAuthorites​(org.alfresco.service.cmr.repository.NodeRef nodeRef)
        Deprecated.
        Gets a list of the authorities from the extended security aspect that this dynamic authority is checking against.
        Parameters:
        nodeRef -
        Returns:
      • hasAuthority

        public boolean hasAuthority​(org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                    String userName)
        Deprecated.
        Specified by:
        hasAuthority in interface org.alfresco.repo.security.permissions.DynamicAuthority
        See Also:
        DynamicAuthority.hasAuthority(org.alfresco.service.cmr.repository.NodeRef, java.lang.String)