Class AccessControlBean

java.lang.Object
org.alfresco.filesys.config.acl.AccessControlBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware
Direct Known Subclasses:
DomainAccessControlBean, GidAccessControlBean, IpAddressAccessControlBean, ProtocolAccessControlBean, UidAccessControlBean, UserAccessControlBean

public abstract class AccessControlBean extends Object implements org.springframework.beans.factory.BeanNameAware
Simple description of a JLAN Access control that can be configured via JMX or a Spring bean definition.
  • Constructor Details

    • AccessControlBean

      public AccessControlBean()
  • Method Details

    • setBeanName

      public void setBeanName(String name)
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
    • getName

      public final String getName()
      Return the access control name.
      Returns:
      the access control name
    • getAccessType

      public final String getAccessType()
      Return the access control check type.
      Returns:
      the access control check type
    • setAccessType

      public void setAccessType(String accessType) throws org.alfresco.jlan.server.auth.acl.ACLParseException
      Set the the access control check type.
      Parameters:
      accessType - the access type
      Throws:
      org.alfresco.jlan.server.auth.acl.ACLParseException
    • toAccessControl

      public abstract org.alfresco.jlan.server.auth.acl.AccessControl toAccessControl()
      Converts this object to a JLAN access control
      Returns:
      the access control
    • getAccessLevel

      protected int getAccessLevel()
      Gets the access level as an integer.
      Returns:
      the access level as an integer