Fix mindmap expport.

This commit is contained in:
Paulo Gustavo Veiga
2012-04-05 00:01:51 -03:00
parent f52f01a6b1
commit bed005afef
5 changed files with 50 additions and 54 deletions

View File

@@ -45,7 +45,7 @@ public abstract class BaseSecurityAdvice {
}
if (!isAllowed) {
throw new AccessDeniedSecurityException("User '" + user.getEmail() + "' not allowed to invoke:" + methodInvocation);
throw new AccessDeniedSecurityException("User '" + (user != null ? user.getEmail() : "none") + "' not allowed to invoke:" + methodInvocation);
}
}