Dave Ward 972dd9a4ba MOB-651: Decouple File Servers from Config Service and Authenticators
- Minor JLAN changes (backward compatible)
   - CIFSAuthenticator implements an interface (to allow dynamic proxying to authentication subsystem)
   - CIFSAuthenticator accesses ServerConfiguration via ServerConfigurationAccessor interface and doesn't retain references to config sections (again to allow dynamic proxying and hot swapping)
   - ConfigSections have way of directly setting container initialised authenticators, sharemappers, etc.
   - Authenticators, etc. still support initialisation from config service in backward compatible manner.
- Most of ServerConfigurationBean moved to AbstractServerConfigurationBean superclass.
- New org.alfresco.filesys.config package with ServerConfigurationBean implementation and supporting classes that can be initialised by a Spring container.
- File server authenticators moved into authentication subsystem. TODO: Kerberos and NTLM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-01 13:22:06 +00:00

162 lines
4.2 KiB
Java

/*
* Copyright (C) 2005-2009 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program 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 General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have received a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
*/
package org.alfresco.filesys.config;
import java.util.List;
import org.alfresco.jlan.server.auth.acl.AccessControl;
import org.alfresco.jlan.server.core.ShareMapper;
// TODO: Auto-generated Javadoc
/**
* The Class SecurityConfigBean.
*
* @author dward
*/
public class SecurityConfigBean
{
/** The global default access level. */
private String globalDefaultAccessLevel;
/** The global access control. */
private List<AccessControl> globalAccessControl;
/** The jce provider. */
private String jceProvider;
/** The share mapper. */
private ShareMapper shareMapper;
/** The domain mappings. */
private List<DomainMappingConfigBean> domainMappings;
/**
* Gets the global default access level.
*
* @return the global default access level
*/
public String getGlobalDefaultAccessLevel()
{
return globalDefaultAccessLevel;
}
/**
* Sets the global default access level.
*
* @param globalDefaultAccessLevel
* the new global default access level
*/
public void setGlobalDefaultAccessLevel(String globalDefaultAccessLevel)
{
this.globalDefaultAccessLevel = globalDefaultAccessLevel;
}
/**
* Gets the global access control.
*
* @return the global access control
*/
public List<AccessControl> getGlobalAccessControl()
{
return globalAccessControl;
}
/**
* Sets the global access control.
*
* @param globalAccessControl
* the new global access control
*/
public void setGlobalAccessControl(List<AccessControl> globalAccessControl)
{
this.globalAccessControl = globalAccessControl;
}
/**
* Gets the jCE provider.
*
* @return the jCE provider
*/
public String getJCEProvider()
{
return jceProvider;
}
/**
* Sets the jCE provider.
*
* @param provider
* the new jCE provider
*/
public void setJCEProvider(String provider)
{
jceProvider = provider;
}
/**
* Gets the share mapper.
*
* @return the share mapper
*/
public ShareMapper getShareMapper()
{
return shareMapper;
}
/**
* Sets the share mapper.
*
* @param shareMapper
* the new share mapper
*/
public void setShareMapper(ShareMapper shareMapper)
{
this.shareMapper = shareMapper;
}
/**
* Gets the domain mappings.
*
* @return the domain mappings
*/
public List<DomainMappingConfigBean> getDomainMappings()
{
return domainMappings;
}
/**
* Sets the domain mappings.
*
* @param domainMappings
* the new domain mappings
*/
public void setDomainMappings(List<DomainMappingConfigBean> domainMappings)
{
this.domainMappings = domainMappings;
}
}