Class LDAPDirectoryInstanceLoaderImpl
java.lang.Object
com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
com.atlassian.crowd.directory.loader.LDAPDirectoryInstanceLoaderImpl
- All Implemented Interfaces:
DirectoryInstanceLoader
,LDAPDirectoryInstanceLoader
public class LDAPDirectoryInstanceLoaderImpl
extends AbstractDirectoryInstanceLoader
implements LDAPDirectoryInstanceLoader
Loads an implementation of a
RemoteDirectory
for use at runtime
by the Crowd security server.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Loads a guaranteed un-cached directory implementation for a specific configuration.Methods inherited from class com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
getDirectory
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 Details
-
LDAPDirectoryInstanceLoaderImpl
-
-
Method Details
-
getRawDirectory
public RemoteDirectory getRawDirectory(Long id, String className, Map<String, String> attributes) throws DirectoryInstantiationExceptionDescription copied from interface:DirectoryInstanceLoader
Loads a guaranteed un-cached directory implementation for a specific configuration.- Specified by:
getRawDirectory
in interfaceDirectoryInstanceLoader
- Parameters:
id
- Directory IDclassName
- class name of directory.attributes
- the configuration attributes to pass to the RemoteDirectory- Returns:
- The loaded RemoteDirectory implementation.
- Throws:
DirectoryInstantiationException
- if a RemoteDirectory implementation can not be loaded.
-
canLoad
- Specified by:
canLoad
in interfaceDirectoryInstanceLoader
- Parameters:
className
- class name of directory.- Returns:
true
iff the directory can load the directory of the specified class.
-