Class ExtendedSecurityBaseDynamicAuthority

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.security.ExtendedSecurityBaseDynamicAuthority
All Implemented Interfaces:
RecordsManagementCustomModel, RecordsManagementModel, DynamicAuthority, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
ExtendedReaderDynamicAuthority, ExtendedWriterDynamicAuthority

@Deprecated public abstract class ExtendedSecurityBaseDynamicAuthority extends Object implements DynamicAuthority, RecordsManagementModel, org.springframework.context.ApplicationContextAware
Deprecated.
Extended readers dynamic authority implementation.
Since:
2.1
Author:
Roy Wetherall
  • Field Details

    • applicationContext

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

      protected ModelDAO modelDAO
      Deprecated.
      model DAO
    • requiredFor

      protected Set<PermissionReference> requiredFor
      Deprecated.
      permission reference
  • Constructor Details

    • ExtendedSecurityBaseDynamicAuthority

      public ExtendedSecurityBaseDynamicAuthority()
      Deprecated.
  • Method Details

    • getAuthorityService

      protected AuthorityService getAuthorityService()
      Deprecated.
      Returns:
      authority service
    • getExtendedSecurityService

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

      protected NodeService getNodeService()
      Deprecated.
      Returns:
      node service
    • getModelDAO

      protected 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(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(NodeRef nodeRef, String userName)
      Deprecated.
      Specified by:
      hasAuthority in interface DynamicAuthority
      See Also: