121122123124125126127128129130131
{ Identity identity = Identity.instance(); try { boolean success = identityManager.authenticate(username, identity.getCredentials().getPassword()); if (success) { for (String role : identityManager.getImpliedRoles(username)) {
123124125126127128129130131132133
{ Identity identity = Identity.instance(); try { boolean success = identityManager.authenticate(username, identity.getPassword()); if (success) { for (String role : identityManager.getImpliedRoles(username)) {