Class SysAdminParamsImpl

  • All Implemented Interfaces:
    SysAdminParams, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

    public class SysAdminParamsImpl
    extends Object
    implements SysAdminParams, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
    Configurable system parameters.
    • Constructor Detail

      • SysAdminParamsImpl

        public SysAdminParamsImpl()
    • Method Detail

      • setApplicationContext

        public void setApplicationContext​(org.springframework.context.ApplicationContext ctx)
        Specified by:
        setApplicationContext in interface org.springframework.context.ApplicationContextAware
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • setAllowedUsers

        public void setAllowedUsers​(String allowedUsers)
        Sets the list of users who are allowed to log in.
        Parameters:
        allowedUsers - a comma-separated list of users who are allowed to log in or null if all users are allowed to log in
      • getAllowedUserList

        public List<String> getAllowedUserList()
        Description copied from interface: SysAdminParams
        Gets the list of users who are allowed to log in.
        Specified by:
        getAllowedUserList in interface SysAdminParams
        Returns:
        the allowed user list or null if all users are allowed to log in
      • setMaxUsers

        public void setMaxUsers​(int maxUsers)
        Sets the maximum number of users who are allowed to log in.
        Parameters:
        maxUsers - the maximum number of users who are allowed to log in
      • getMaxUsers

        public int getMaxUsers()
        Description copied from interface: SysAdminParams
        Gets the maximum number of users who are allowed to log in.
        Specified by:
        getMaxUsers in interface SysAdminParams
        Returns:
        the the maximum number of users who are allowed to log in
      • setAllowWrite

        public void setAllowWrite​(boolean allowWrite)
        Controls where we allow write operations by non-system users on the repository.
        Parameters:
        allowWrite - true if we allow write operations by non-system users on the repository
      • getAllowWrite

        public boolean getAllowWrite()
        Description copied from interface: SysAdminParams
        Do we allow write operations by non-system users on the repository?.
        Specified by:
        getAllowWrite in interface SysAdminParams
        Returns:
        true if we allow write operations by non-system users on the repository
      • setAlfrescoContext

        public void setAlfrescoContext​(String alfrescoContext)
      • setAlfrescoHost

        public void setAlfrescoHost​(String alfrescoHost)
      • setAlfrescoPort

        public void setAlfrescoPort​(int alfrescoPort)
      • setAlfrescoProtocol

        public void setAlfrescoProtocol​(String alfrescoProtocol)
      • setShareContext

        public void setShareContext​(String shareContext)
      • setShareHost

        public void setShareHost​(String shareHost)
      • setSharePort

        public void setSharePort​(int sharePort)
      • setShareProtocol

        public void setShareProtocol​(String shareProtocol)
      • subsituteHost

        public String subsituteHost​(String hostName)
        Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
        Specified by:
        subsituteHost in interface SysAdminParams
        Parameters:
        hostName - the host name
        Returns:
        the string
      • getSitePublicGroup

        public String getSitePublicGroup()
        Description copied from interface: SysAdminParams
        Gets the group name used for public site visibility. Only members of this group will have SiteConsumer access to 'public' share sites.
        Specified by:
        getSitePublicGroup in interface SysAdminParams
        Returns:
        the name of the public site group.
      • setSitePublicGroup

        public void setSitePublicGroup​(String sitePublicGroup)
      • setApiExplorerUrl

        public void setApiExplorerUrl​(String apiExplorerUrl)