Neil McErlean f51d8ac5c8 Merged DEV/SITE_CONFIGURABILITY to HEAD
22041: ALF-3785 Configurable site public group.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22043 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-08-27 13:08:31 +00:00

125 lines
3.1 KiB
Java

/*
* Copyright (C) 2005-2010 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
package org.alfresco.repo.admin;
import java.util.List;
/**
* An interface for retrieving configurable system parameters.
*
* @author dward
*/
public interface SysAdminParams
{
/**
* Do we allow write operations by non-system users on the repository?.
*
* @return <code>true</code> if we allow write operations by non-system users on the repository
*/
public boolean getAllowWrite();
/**
* Gets the list of users who are allowed to log in.
*
* @return the allowed user list or <code>null</code> if all users are allowed to log in
*/
public List<String> getAllowedUserList();
/**
* Gets the maximum number of users who are allowed to log in.
*
* @return the the maximum number of users who are allowed to log in
*/
public int getMaxUsers();
/**
* Gets Alfresco context.
*
* @return Alfresco context
*/
public String getAlfrescoContext();
/**
* Gets Alfresco host.
*
* @return Alfresco host
*/
public String getAlfrescoHost();
/**
* Gets Alfresco port.
*
* @return Alfresco port
*/
public int getAlfrescoPort();
/**
* Gets Alfresco protocole.
*
* @return Alfresco protocole
*/
public String getAlfrescoProtocol();
/**
* Gets Share context.
*
* @return Share context
*/
public String getShareContext();
/**
* Gets Share host.
*
* @return Share host
*/
public String getShareHost();
/**
* Gets Share port.
*
* @return Share port
*/
public int getSharePort();
/**
* Gets Share protocol.
*
* @return Share protocol
*/
public String getShareProtocol();
/**
* Gets the group name used for public site visibility.
* Only members of this group will have SiteConsumer access to 'public' share sites.
*
* @return the name of the public site group.
* @since 3.4
*/
public String getSitePublicGroup();
/**
* Expands the special ${localname} token within a host name using the resolved DNS name for the local host.
*
* @param hostName
* the host name
* @return the string
*/
public String subsituteHost(String hostName);
}