Package com.emc.documentum.rest.security

# Interface RepositoryContextCleaner

All Known Implementing Classes:
  `DefaultRepositoryContextCleaner`

public interface RepositoryContextCleaner
An interface used in `AnonymousAccess` to assign a certain cleaner for the context cleaning. Each class implements this interface must implements the method `clean()`. A pairwise interface to clean up the context is `RepositoryContextInitializer`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `clean()`
  The repository context cleanup should destroy any user credentials from `RepositoryContextHolder` to avoid security vulnerability.

- ## Method Details

  - ### clean

    void clean()
    The repository context cleanup should destroy any user credentials from `RepositoryContextHolder` to avoid security vulnerability. Typically, the method `RepositoryContextHolder.clear()` should be called.