public abstract class ChainedUserProvider extends Object implements com.opensymphony.user.provider.UserProvider
Init Properties:
If you're a masochist, you can configure multiple chained providers in a row, using properties like "chain.chain.chain.of.fools" to pass configuration properties down the list.
Constructor and Description |
---|
ChainedUserProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
create(String s) |
void |
flushCaches() |
protected com.opensymphony.user.provider.UserProvider |
getNextProvider()
Get the next UserProvider in the chain.
|
protected abstract Class |
getProviderClass()
Get the exact kind of provider we are chaining.
|
boolean |
handles(String s) |
boolean |
init(Properties properties)
See the class Javadoc for the chaining provider's properties.
|
List |
list() |
boolean |
load(String s,
com.opensymphony.user.Entity.Accessor accessor) |
boolean |
remove(String s) |
boolean |
store(String s,
com.opensymphony.user.Entity.Accessor accessor) |
protected abstract Class getProviderClass()
If this provider class isn't a sub-type of UserProvider, things will fall over in a painful fashion.
protected com.opensymphony.user.provider.UserProvider getNextProvider()
public boolean init(Properties properties)
init
in interface com.opensymphony.user.provider.UserProvider
properties
- initialisation properties for this provider, and subsequent
providers in the chain.public boolean create(String s)
create
in interface com.opensymphony.user.provider.UserProvider
public void flushCaches()
flushCaches
in interface com.opensymphony.user.provider.UserProvider
public boolean handles(String s)
handles
in interface com.opensymphony.user.provider.UserProvider
public List list()
list
in interface com.opensymphony.user.provider.UserProvider
public boolean load(String s, com.opensymphony.user.Entity.Accessor accessor)
load
in interface com.opensymphony.user.provider.UserProvider
public boolean remove(String s)
remove
in interface com.opensymphony.user.provider.UserProvider
public boolean store(String s, com.opensymphony.user.Entity.Accessor accessor)
store
in interface com.opensymphony.user.provider.UserProvider
Copyright © 2003–2017 Atlassian. All rights reserved.