@Deprecated public class CachingProfileProvider extends ChainedProfileProvider implements com.atlassian.user.cache.CacheFactoryAware
CacheAwarePropertySet
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
CACHE_KEY_PROFILE_PROVIDER_HANDLES
Deprecated.
|
static String |
CACHE_KEY_PROFILE_PROVIDER_PROPERTY_SETS
Deprecated.
|
static String |
CACHE_KEY_PROPERTY_SETS_REFERENCES_CACHE
Deprecated.
|
Constructor and Description |
---|
CachingProfileProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
create(String name)
Deprecated.
|
void |
flushCaches()
Deprecated.
|
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(String name)
Deprecated.
|
boolean |
handles(String name)
Deprecated.
|
boolean |
init(Properties properties)
Deprecated.
HACK: LDAPCredentialsProvider.handles() calls UserManager.getInstance().getCredentialsProviders() which triggers
of an initialisation of all providers in osuser.xml (including this one) Initialisation is done via this init()
method, so we need to ensure a cacheManager is available so that this caching provider is initialised correctly
(normally, we have CachingAccessProvider instantiated and initialised by altassian-user's
DefaultOSUConfigurationLoader.addProvider())
|
boolean |
remove(String name)
Deprecated.
|
void |
setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
Deprecated.
|
getNextProfileProvider, getProviderClass
getNextProvider, list, load, store
public static final String CACHE_KEY_PROFILE_PROVIDER_HANDLES
public static final String CACHE_KEY_PROFILE_PROVIDER_PROPERTY_SETS
public static final String CACHE_KEY_PROPERTY_SETS_REFERENCES_CACHE
public boolean init(Properties properties)
init
in interface com.opensymphony.user.provider.UserProvider
init
in class ChainedUserProvider
properties
- initialisation properties for this provider, and subsequent
providers in the chain.public boolean handles(String name)
handles
in interface com.opensymphony.user.provider.UserProvider
handles
in class ChainedUserProvider
public boolean create(String name)
create
in interface com.opensymphony.user.provider.UserProvider
create
in class ChainedUserProvider
public boolean remove(String name)
remove
in interface com.opensymphony.user.provider.UserProvider
remove
in class ChainedUserProvider
public void flushCaches()
flushCaches
in interface com.opensymphony.user.provider.UserProvider
flushCaches
in class ChainedUserProvider
public com.opensymphony.module.propertyset.PropertySet getPropertySet(String name)
getPropertySet
in interface com.opensymphony.user.provider.ProfileProvider
getPropertySet
in class ChainedProfileProvider
public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
setCacheFactory
in interface com.atlassian.user.cache.CacheFactoryAware
Copyright © 2003–2020 Atlassian. All rights reserved.