com.atlassian.crowd.directory.loader
Class DelegatedAuthenticationDirectoryInstanceLoaderImpl

java.lang.Object
  extended by com.atlassian.crowd.directory.loader.CachingDirectoryInstanceLoader
      extended by com.atlassian.crowd.directory.loader.DelegatedAuthenticationDirectoryInstanceLoaderImpl
All Implemented Interfaces:
DelegatedAuthenticationDirectoryInstanceLoader, DirectoryInstanceLoader

public class DelegatedAuthenticationDirectoryInstanceLoaderImpl
extends CachingDirectoryInstanceLoader
implements DelegatedAuthenticationDirectoryInstanceLoader


Constructor Summary
DelegatedAuthenticationDirectoryInstanceLoaderImpl(LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader, InternalDirectoryInstanceLoader internalDirectoryInstanceLoader, com.atlassian.event.api.EventPublisher eventPublisher, DirectoryDao directoryDao)
           
 
Method Summary
 boolean canLoad(java.lang.String className)
           
protected  RemoteDirectory getNewDirectory(Directory directory)
          Always returns a new instance of a RemoteDirectory.
 RemoteDirectory getRawDirectory(java.lang.Long id, java.lang.String className, java.util.Map<java.lang.String,java.lang.String> attributes)
           
 
Methods inherited from class com.atlassian.crowd.directory.loader.CachingDirectoryInstanceLoader
getDirectory, getEventPublisher, handleEvent, handleEvent, handleEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
getDirectory
 

Constructor Detail

DelegatedAuthenticationDirectoryInstanceLoaderImpl

public DelegatedAuthenticationDirectoryInstanceLoaderImpl(LDAPDirectoryInstanceLoader ldapDirectoryInstanceLoader,
                                                          InternalDirectoryInstanceLoader internalDirectoryInstanceLoader,
                                                          com.atlassian.event.api.EventPublisher eventPublisher,
                                                          DirectoryDao directoryDao)
Method Detail

getNewDirectory

protected RemoteDirectory getNewDirectory(Directory directory)
                                   throws DirectoryInstantiationException
Description copied from class: CachingDirectoryInstanceLoader
Always returns a new instance of a RemoteDirectory.

Specified by:
getNewDirectory in class CachingDirectoryInstanceLoader
Parameters:
directory - directory configuration
Returns:
new instance of a RemoteDirectory
Throws:
DirectoryInstantiationException - if the directory could not be instantiated.

getRawDirectory

public RemoteDirectory getRawDirectory(java.lang.Long id,
                                       java.lang.String className,
                                       java.util.Map<java.lang.String,java.lang.String> attributes)
                                throws DirectoryInstantiationException
Specified by:
getRawDirectory in interface DirectoryInstanceLoader
Throws:
DirectoryInstantiationException

canLoad

public boolean canLoad(java.lang.String className)
Specified by:
canLoad in interface DirectoryInstanceLoader


Copyright © 2012 Atlassian. All Rights Reserved.