membershipCache = new LRUMap();
// listen to modifications of group-membership
String[] ntNames = new String[2];
if (securitySession instanceof SessionImpl) {
NameResolver resolver = (NameResolver) securitySession;
ntNames[0] = resolver.getJCRName(UserManagerImpl.NT_REP_GROUP);
ntNames[1] = resolver.getJCRName(UserManagerImpl.NT_REP_AUTHORIZABLE_FOLDER);
pMembers = resolver.getJCRName(UserManagerImpl.P_MEMBERS);
pPrincipalName = resolver.getJCRName(UserManagerImpl.P_PRINCIPAL_NAME);
} else {
ntNames[0] = "rep:Group";
ntNames[1] = "rep:AuthorizableFolder";
pMembers = "rep:members";
pPrincipalName = "rep:principalName";