bucket.user.providers
Class ChainedAccessProvider

java.lang.Object
  extended by bucket.user.providers.ChainedUserProvider
      extended by bucket.user.providers.ChainedAccessProvider
All Implemented Interfaces:
com.opensymphony.user.provider.AccessProvider, com.opensymphony.user.provider.UserProvider, Serializable
Direct Known Subclasses:
CachingAccessProvider

public class ChainedAccessProvider
extends ChainedUserProvider
implements com.opensymphony.user.provider.AccessProvider

Allows chaining of access providers

See Also:
Serialized Form

Field Summary
static org.apache.log4j.Logger log
          Deprecated. 
 
Constructor Summary
ChainedAccessProvider()
           
 
Method Summary
 boolean addToGroup(String s, String s1)
           
protected  void flushCache(com.atlassian.cache.Cache cache)
           
protected  com.opensymphony.user.provider.AccessProvider getNextAccessProvider()
           
protected  Class getProviderClass()
          Get the exact kind of provider we are chaining.
 boolean inGroup(String s, String s1)
           
 List listGroupsContainingUser(String s)
           
 List listUsersInGroup(String s)
           
 boolean removeFromGroup(String s, String s1)
           
 
Methods inherited from class bucket.user.providers.ChainedUserProvider
create, flushCaches, getNextProvider, handles, init, list, load, remove, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.user.provider.UserProvider
create, flushCaches, handles, init, list, load, remove, store
 

Field Detail

log

@Deprecated
public static final org.apache.log4j.Logger log
Deprecated. 
Constructor Detail

ChainedAccessProvider

public ChainedAccessProvider()
Method Detail

getNextAccessProvider

protected com.opensymphony.user.provider.AccessProvider getNextAccessProvider()

getProviderClass

protected Class getProviderClass()
Description copied from class: ChainedUserProvider
Get the exact kind of provider we are chaining. Concrete subclasses should return the class we are enforcing providers to be a type of: i.e. AccessProvider, CredentialsProvider or ProfileProvider. If this provider class isn't a sub-type of UserProvider, things will fall over in a painful fashion.

Specified by:
getProviderClass in class ChainedUserProvider

addToGroup

public boolean addToGroup(String s,
                          String s1)
Specified by:
addToGroup in interface com.opensymphony.user.provider.AccessProvider

inGroup

public boolean inGroup(String s,
                       String s1)
Specified by:
inGroup in interface com.opensymphony.user.provider.AccessProvider

listGroupsContainingUser

public List listGroupsContainingUser(String s)
Specified by:
listGroupsContainingUser in interface com.opensymphony.user.provider.AccessProvider

listUsersInGroup

public List listUsersInGroup(String s)
Specified by:
listUsersInGroup in interface com.opensymphony.user.provider.AccessProvider

removeFromGroup

public boolean removeFromGroup(String s,
                               String s1)
Specified by:
removeFromGroup in interface com.opensymphony.user.provider.AccessProvider

flushCache

protected void flushCache(com.atlassian.cache.Cache cache)


Copyright © 2003-2012 Atlassian. All Rights Reserved.