com.atlassian.user.configuration.xml
Class XMLConfiguration
java.lang.Object
com.atlassian.user.configuration.xml.XMLConfiguration
- All Implemented Interfaces:
- Configuration
public class XMLConfiguration
- extends java.lang.Object
- implements Configuration
| Fields inherited from interface com.atlassian.user.configuration.Configuration |
ACCESSOR, AUTHENTICATION, AUTHENTICATOR, BASE_CONTEXT, BASE_GROUP_NAMESPACE, BASE_USER_NAMESPACE, BATCH_SIZE, CACHE, CACHEFACTORY, CLASS, CLASSES, CONNECT_TIMEOUT, DEBUG, DEFAULT, DELEGATION, DESCRIPTION, EMAIL_ATTRIBUTE, ENTITY_QUERY_PARSER, EXTERNAL_ENTITY_DAO, EXTERNAL_REPOSITORY, FIRSTNAME_ATTRIBUTE, GROUP_SEARCH_ALL_DEPTHS, GROUP_SEARCH_FILTER, GROUPADAPTOR, GROUPFACTORY, GROUPMANAGER, GROUPNAME_ATTRIBUTE, HIBERNATE, HIBERNATE_CONFIGURATION_PROVIDER, HIBERNATE_SESSION_FACTORY, HOST, INITIAL_CONTEXT_FACTORY_JNDI, INITSIZE, KEY, LDAP, LDAP_CONNECTION_POOL_PROPERTIES, LDAP_SCHEMA_MAPPINGS_PROPERTIES, MAPPINGS, MAXSIZE, MEMBERSHIP_ATTRIBUTE, MEMORY, NAME, ORDER, OSU_ACCESS_PROVIDER, OSU_AUTHENTICATOR, OSU_CREDENTIALS_PROVIDER, OSU_CREDENTIALS_PROVIDER_LIST, OSU_PROFILE_PROVIDER, OSUSER, PARAM, PASSWORD_ENCRYPTOR, POOL_AUTHENTICATION, POOLING_ON, PORT, PREFSIZE, PROCESSOR, PROPERTYSET_FACTORY, PROVIDER_URL, READ_TIMEOUT, REPOSITORIES, REPOSITORY, SECURITY_CREDENTIAL, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, SERVER, SURNAME_ATTRIBUTE, TIME_TO_LIVE, TIMEOUT, TRUSTSTORE, USE_UNQUALIFIED_USER_NAME_FOR_MEMBERSHIP_COMPARISON, USER_SEARCH_ALL_DEPTHS, USER_SEARCH_FILTER, USERADAPTOR, USERFACTORY, USERMANAGER, USERNAME_ATTRIBUTE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileName
protected java.lang.String fileName
xmlParser
protected XMLConfigurationParser xmlParser
initialized
protected boolean initialized
initializing
protected boolean initializing
delegationAccessor
protected DelegationAccessor delegationAccessor
repositoryConfigs
protected java.util.List repositoryConfigs
xmlIS
protected java.io.InputStream xmlIS
XMLConfiguration
public XMLConfiguration()
throws ConfigurationException
- Throws:
ConfigurationException
XMLConfiguration
public XMLConfiguration(java.lang.String fileName)
throws ConfigurationException
- Throws:
ConfigurationException
XMLConfiguration
public XMLConfiguration(java.io.InputStream is)
throws ConfigurationException
- Throws:
ConfigurationException
configureFromXMLString
public static XMLConfiguration configureFromXMLString(java.lang.String xmlString)
throws ConfigurationException
- Throws:
ConfigurationException
getDelegationAccessor
public DelegationAccessor getDelegationAccessor()
- Specified by:
getDelegationAccessor in interface Configuration
- Returns:
- a
RepositoryAccessor holding all configured components.
init
public void init()
throws ConfigurationException
- Specified by:
init in interface Configuration
- Throws:
ConfigurationException
configureRepository
protected RepositoryAccessor configureRepository(RepositoryConfiguration repositoryConfiguration)
throws ConfigurationException
- Throws:
ConfigurationException
isInitialized
public boolean isInitialized()
- Specified by:
isInitialized in interface Configuration
Copyright © 2005-2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.