Package com.emc.documentum.rest.security
Annotation Interface AnonymousAccess
An annotation used on a controller class to make this resource anonymously accessible.
This annotation can only be used on the implementation class of
AbstractController
.
It should be used with Spring annotation @Controller or @RestController together.-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass<? extends RepositoryContextInitializer>
Specifies the context initializer class. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends RepositoryContextCleaner>
Specifies the context cleaner class.
-
Element Details
-
contextInitializerClass
Class<? extends RepositoryContextInitializer> contextInitializerClassSpecifies the context initializer class. This class should be an implementation of interfaceRepositoryContextInitializer
which implements the security context setup logic, e.g.RepositoryContextHolder.setRepositoryName(String)
,RepositoryContextHolder.setLoginName(String)
,RepositoryContextHolder.setPassword(Object)
, andRepositoryContextHolder.setAuthType(AuthType)
.- Returns:
- an implementation class of
RepositoryContextInitializer
-
-
-
contextCleanerClass
Class<? extends RepositoryContextCleaner> contextCleanerClassSpecifies the context cleaner class. This class should be an implementation of interfaceRepositoryContextCleaner
which implements the security context cleanup logic, e.g,RepositoryContextHolder.clear()
. Defaults to the classDefaultRepositoryContextCleaner
- Returns:
- an implementation class of
RepositoryContextCleaner
- Default:
- com.emc.documentum.rest.security.DefaultRepositoryContextCleaner.class
-