Package com.emc.documentum.rest.security

# Class DefaultRepositoryContextCleaner

java.lang.Object
com.emc.documentum.rest.security.DefaultRepositoryContextCleaner

All Implemented Interfaces:
  `RepositoryContextCleaner`

public class DefaultRepositoryContextCleaner extends Object implements RepositoryContextCleaner
This class is a default implementation `RepositoryContextCleaner`. It clears all information from `RepositoryContextHolder`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultRepositoryContextCleaner()`

- ## Method Summary

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

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultRepositoryContextCleaner

    public DefaultRepositoryContextCleaner()

- ## Method Details

  - ### clean

    public void clean()
    Description copied from interface: `RepositoryContextCleaner`
    The repository context cleanup should destroy any user credentials from `RepositoryContextHolder` to avoid security vulnerability. Typically, the method `RepositoryContextHolder.clear()` should be called.
    Specified by:
      `clean` in interface `RepositoryContextCleaner`