Class RemoteCrowdDirectoryInstanceLoaderImpl
java.lang.Object
com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
com.atlassian.crowd.directory.loader.RemoteCrowdDirectoryInstanceLoaderImpl
- All Implemented Interfaces:
DirectoryInstanceLoader,RemoteCrowdDirectoryInstanceLoader
public class RemoteCrowdDirectoryInstanceLoaderImpl
extends AbstractDirectoryInstanceLoader
implements RemoteCrowdDirectoryInstanceLoader
Loads an implementation of a
RemoteDirectory for use at runtime
by the Crowd security server.
The AbstractDirectoryInstanceLoader.getDirectory(com.atlassian.crowd.embedded.api.Directory) method caches instances of RemoteDirectory as
allowed in the spec of the interface, but getRawDirectory(Long, String, java.util.Map) returns a new instance
every time as required.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethods inherited from class com.atlassian.crowd.directory.loader.AbstractDirectoryInstanceLoader
getDirectoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.crowd.directory.loader.DirectoryInstanceLoader
getDirectory
-
Constructor Details
-
RemoteCrowdDirectoryInstanceLoaderImpl
-
-
Method Details
-
getRawDirectory
public RemoteCrowdDirectory getRawDirectory(Long id, String className, Map<String, String> directoryAttributes) throws DirectoryInstantiationException- Specified by:
getRawDirectoryin interfaceDirectoryInstanceLoader- Throws:
DirectoryInstantiationException
-
canLoad
- Specified by:
canLoadin interfaceDirectoryInstanceLoader
-