com.atlassian.crowd.integration.osuser
Class CrowdBaseProvider

java.lang.Object
  extended by com.atlassian.crowd.integration.osuser.CrowdBaseProvider
Direct Known Subclasses:
CrowdAccessProvider, CrowdCredentialsProvider, CrowdProfileProvider

public abstract class CrowdBaseProvider
extends Object


Field Summary
protected static boolean cacheEnabled
           
protected static int cacheSeconds
           
protected static String GROUP_KEY
           
protected static String PRINCIPAL_KEY
           
protected static String PRINCIPALS_KEY
           
 
Constructor Summary
CrowdBaseProvider()
           
 
Method Summary
protected  void cachePrincipals(SOAPPrincipal[] principals)
           
 boolean create(String name)
           
protected  SOAPGroup findGroupByName(String name)
           
protected  List findGroups()
           
static SOAPPrincipal findPrincipalByName(String username)
           
protected  List findPrincipalNames()
           
 void flushCaches()
           
protected static GeneralCacheAdministrator getCacheManager()
           
 boolean handles(String name)
           
 boolean init(Properties properties)
           
 List list()
           
 boolean load(String name, Entity.Accessor accessor)
           
 boolean remove(String name)
           
 boolean store(String name, Entity.Accessor accessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRINCIPAL_KEY

protected static String PRINCIPAL_KEY

PRINCIPALS_KEY

protected static String PRINCIPALS_KEY

GROUP_KEY

protected static String GROUP_KEY

cacheEnabled

protected static boolean cacheEnabled

cacheSeconds

protected static int cacheSeconds
Constructor Detail

CrowdBaseProvider

public CrowdBaseProvider()
Method Detail

create

public boolean create(String name)

flushCaches

public void flushCaches()

handles

public boolean handles(String name)

init

public boolean init(Properties properties)

list

public List list()

load

public boolean load(String name,
                    Entity.Accessor accessor)

remove

public boolean remove(String name)

store

public boolean store(String name,
                     Entity.Accessor accessor)

findPrincipalByName

public static SOAPPrincipal findPrincipalByName(String username)
                                         throws InvalidAuthorizationTokenException,
                                                RemoteException
Throws:
InvalidAuthorizationTokenException
RemoteException

findPrincipalNames

protected List findPrincipalNames()
                           throws InvalidAuthorizationTokenException,
                                  RemoteException
Throws:
InvalidAuthorizationTokenException
RemoteException

findGroupByName

protected SOAPGroup findGroupByName(String name)
                             throws InvalidAuthorizationTokenException,
                                    RemoteException
Throws:
InvalidAuthorizationTokenException
RemoteException

findGroups

protected List findGroups()
                   throws InvalidAuthorizationTokenException,
                          RemoteException
Throws:
InvalidAuthorizationTokenException
RemoteException

cachePrincipals

protected void cachePrincipals(SOAPPrincipal[] principals)

getCacheManager

protected static GeneralCacheAdministrator getCacheManager()


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.