}
}
private SecurityRoleMapper getInternalMapper(String pcid) {
SecurityRoleMapperFactory factory = Globals.get(SecurityRoleMapperFactory.class);
//SecurityRoleMapperFactoryMgr.getFactory();
if (factory == null) {
String msg = "RoleMapper.factory.lookup.failed";
logger.log(Level.SEVERE, msg);
throw new SecurityException(msg);
}
SecurityRoleMapper srm = factory.getRoleMapper(pcid);
if (srm == null) {
String msg = "RoleMapper.mapper.lookup.failed";
logger.log(Level.SEVERE, msg);
throw new SecurityException(msg);