- getInstance
Returns the default instance, if the test instance is not null return the test
instance
- setMockInstance
Set the mockInstance, this should only be used for testing
- createAuthentication
Utility method for hydrating a Spring Authentication object (Principal) given
just a user name. Note
- getAuthorizationPolicy
- getUserRoleListService
- runAsUser
- <init>
Default constructor - protected so that it may be only constructed by a
sub-class since this is a si
- becomeUser
Hi-jacks the system for the named user.
This is for unit tests only.
- getAuthentication
Remove this method when data-access is JCR-branched
- getTenantedUserNameUtils
- getUserDetailsService
- isPentahoAdministrator
Utility method that communicates with the installed ACLVoter to determine
administrator status