Map<String, UserManager> userManagerMap)
{
this.userManager = userManager;
this.securitySystem = securitySystem;
this.userManagerMap = userManagerMap;
setCredentialsMatcher(new Sha1CredentialsMatcher());
setName(ROLE);
setAuthenticationCachingEnabled(false); // we authz only, no authc done by this realm
setAuthorizationCachingEnabled(true);
}