Commit 8075ea9027e5bd2e19d4c946ed96243134daa0e2
1 parent
cd26ab20
Exists in
master
Correção do método que obtem grupos do usuário
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
cit-esi-api/src/main/java/br/com/centralit/esi/api/security/service/impl/SecurityServiceImpl.java
... | ... | @@ -39,7 +39,7 @@ public class SecurityServiceImpl implements SecurityService { |
39 | 39 | User user = null; |
40 | 40 | if (this.getLocalUsers() != null) { |
41 | 41 | for (User searchUser : this.getLocalUsers()) { |
42 | - if (searchUser.getId().equalsIgnoreCase(userId)) { | |
42 | + if (searchUser.getId().equals(userId)) { | |
43 | 43 | user = searchUser; |
44 | 44 | break; |
45 | 45 | } |
... | ... | @@ -68,7 +68,7 @@ public class SecurityServiceImpl implements SecurityService { |
68 | 68 | Group group = null; |
69 | 69 | if (this.getLocalGroups() != null) { |
70 | 70 | for (Group searchGroup : this.getLocalGroups()) { |
71 | - if (searchGroup.getId().equalsIgnoreCase(groupId)) { | |
71 | + if (searchGroup.getId().equals(groupId)) { | |
72 | 72 | group = searchGroup; |
73 | 73 | break; |
74 | 74 | } | ... | ... |