com.atlassian.bamboo.user
Class BambooUserConfiguration

java.lang.Object
  extended by com.atlassian.user.configuration.xml.XMLConfiguration
      extended by com.atlassian.bamboo.user.BambooUserConfiguration
All Implemented Interfaces:
com.atlassian.user.configuration.Configuration

public class BambooUserConfiguration
extends com.atlassian.user.configuration.xml.XMLConfiguration

Bamboo's implementation of XMLConfiguration to allow injection of Bamboo components (for LDAP etc)


Field Summary
 DefaultHibernateAccessor accessor
           
 bucket.user.BucketHibernateConfigProvider configProvider
           
 
Fields inherited from class com.atlassian.user.configuration.xml.XMLConfiguration
delegationAccessor, fileName, initialized, initializing, repositoryConfigs, xmlIS, xmlParser
 
Fields inherited from interface com.atlassian.user.configuration.Configuration
ACCESSOR, AUTHENTICATION, AUTHENTICATOR, BASE_CONTEXT, BASE_GROUP_NAMESPACE, BASE_USER_NAMESPACE, BATCH_SIZE, CACHE, CACHEMANAGER, CLASS, CLASSES, 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, 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
 
Constructor Summary
BambooUserConfiguration()
           
BambooUserConfiguration(java.io.InputStream inputStream)
           
BambooUserConfiguration(java.lang.String string)
           
 
Method Summary
protected  com.atlassian.user.configuration.RepositoryAccessor configureRepository(com.atlassian.user.configuration.RepositoryConfiguration config)
           
 net.sf.hibernate.SessionFactory getSessionFactory()
           
 void setCacheManager(bucket.cache.CacheManager cacheManager)
           
 void setExternalEntityDao(com.atlassian.user.impl.hibernate.ExternalEntityDAO externalEntityDao)
           
 void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 
Methods inherited from class com.atlassian.user.configuration.xml.XMLConfiguration
configureFromXMLString, getDelegationAccessor, init, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

accessor

public DefaultHibernateAccessor accessor

configProvider

public bucket.user.BucketHibernateConfigProvider configProvider
Constructor Detail

BambooUserConfiguration

public BambooUserConfiguration()
                        throws com.atlassian.user.configuration.ConfigurationException
Throws:
com.atlassian.user.configuration.ConfigurationException

BambooUserConfiguration

public BambooUserConfiguration(java.lang.String string)
                        throws com.atlassian.user.configuration.ConfigurationException
Throws:
com.atlassian.user.configuration.ConfigurationException

BambooUserConfiguration

public BambooUserConfiguration(java.io.InputStream inputStream)
                        throws com.atlassian.user.configuration.ConfigurationException
Throws:
com.atlassian.user.configuration.ConfigurationException
Method Detail

configureRepository

protected com.atlassian.user.configuration.RepositoryAccessor configureRepository(com.atlassian.user.configuration.RepositoryConfiguration config)
                                                                           throws com.atlassian.user.configuration.ConfigurationException
Overrides:
configureRepository in class com.atlassian.user.configuration.xml.XMLConfiguration
Throws:
com.atlassian.user.configuration.ConfigurationException

getSessionFactory

public net.sf.hibernate.SessionFactory getSessionFactory()

setSessionFactory

public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)

setCacheManager

public void setCacheManager(bucket.cache.CacheManager cacheManager)

setExternalEntityDao

public void setExternalEntityDao(com.atlassian.user.impl.hibernate.ExternalEntityDAO externalEntityDao)


Copyright © 2010 Atlassian. All Rights Reserved.