Package com.emc.documentum.rest.security
Class DefaultRepositoryContextCleaner
java.lang.Object
com.emc.documentum.rest.security.DefaultRepositoryContextCleaner
- All Implemented Interfaces:
RepositoryContextCleaner
This class is a default implementation
RepositoryContextCleaner
. It clears all information from RepositoryContextHolder
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clean()
The repository context cleanup should destroy any user credentials fromRepositoryContextHolder
to avoid security vulnerability.
-
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 fromRepositoryContextHolder
to avoid security vulnerability. Typically, the methodRepositoryContextHolder.clear()
should be called.- Specified by:
clean
in interfaceRepositoryContextCleaner
-