*
* @param userName The user name which acl's should be loaded.
*/
protected synchronized void loadAclForUser(String userName)
{
Principal principal = (Principal) principals.get(userName);
if (principal != null)
{
return;
}
AkteraUser akteraUser = userDAO.findUserByName(userName);
if (akteraUser == null)
{
return;
}
principal = new Principal(userName);
principals.put(userName, principal);
try
{
for (AkteraGroup akteraGroup : userDAO.findGroupsByUser(akteraUser))