java.lang.Object | |||
↳ | bucket.user.providers.ChainedUserProvider | ||
↳ | bucket.user.providers.ChainedCredentialsProvider | ||
↳ | bucket.user.providers.CachingCredentialsProvider |
A custom CredentialsProvider for Confluence that caches 'handles' lookups.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
cacheFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
lowercase name before calling handles()
we make the assumption here that all providers whose lookups are being cached, only handle user accounts with lower case names.
| |||||||||||
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())
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
bucket.user.providers.ChainedCredentialsProvider
| |||||||||||
From class
bucket.user.providers.ChainedUserProvider
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.user.cache.CacheFactoryAware
| |||||||||||
From interface
com.opensymphony.user.provider.CredentialsProvider
| |||||||||||
From interface
com.opensymphony.user.provider.UserProvider
|
lowercase name before calling handles() we make the assumption here that all providers whose lookups are being cached, only handle user accounts with lower case names.
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())
properties | initialisation properties for this provider, and subsequent providers in the chain. |
---|