Commit 96bfeff5 authored by michael.simon's avatar michael.simon
Browse files

Rename overloaded method. JSF EL does not support overloaded methods. It

is possible that the wrong method is called.
parent dcb878f7
......@@ -236,7 +236,7 @@ public class AuthorizationBean implements Serializable {
return sessionManager.isUserInRole(role);
}
public boolean isUserInRole(RoleEntity role) {
public boolean isUserInRoleEntity(RoleEntity role) {
if (role == null)
return false;
......@@ -245,7 +245,7 @@ public class AuthorizationBean implements Serializable {
public boolean isUserInRoles(Set<RoleEntity> roles) {
for (RoleEntity role : roles) {
if (isUserInRole(role))
if (isUserInRoleEntity(role))
return true;
}
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment