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 Type
  Method
  Description
  `void`
  `initialize()`
  The repository context initialization should set user credentials to `RepositoryContextHolder`.

- ## Method Details

  - ### initialize

    void initialize()
    The repository context initialization should set user credentials to `RepositoryContextHolder`. Some methods with the holder should be called, like `RepositoryContextHolder.setRepositoryName(String)`, `RepositoryContextHolder.setLoginName(String)`, `RepositoryContextHolder.setPassword(Object)`, and `RepositoryContextHolder.setAuthType(AuthType)`.