- All Implemented Interfaces:
- org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory, org.springframework.web.context.ServletContextAware
public class LocalTestRunAsAuthenticatorFactory
extends java.lang.Object
implements org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory, org.springframework.web.context.ServletContextAware
Used for local web script tests when MT is enabled - eg. WebScriptTestSuite, BaseCMISTest (AspectTest, PolicyTest), etc.
When MT is enabled the repository container required authentication must be "guest" or higher (ie. not "none") to determine the tenant domain.
This dummy authenticator will effectively pass-through the runAs user ... note: it needs to set the runAs user since it will be cleared first (by RepositoryContainer.authenticate).
- Since:
- 4.0 (thor)