Package com.emc.documentum.rest.security
Interface RepositoryContextInitializer
public interface RepositoryContextInitializer
An interface used in
AnonymousAccess
to assign a certain initializer for context initialization.
Each class implements this interface must implement the method initialize()
.
A pairwise interface to clean up the context is RepositoryContextCleaner
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
The repository context initialization should set user credentials toRepositoryContextHolder
.
-
Method Details
-
initialize
void initialize()The repository context initialization should set user credentials toRepositoryContextHolder
. Some methods with the holder should be called, likeRepositoryContextHolder.setRepositoryName(String)
,RepositoryContextHolder.setLoginName(String)
,RepositoryContextHolder.setPassword(Object)
, andRepositoryContextHolder.setAuthType(AuthType)
.
-