subject().checkRole(r1.getRole());
userService.changePassword(u1.getId(), password + "1");
userService.correlationRoles(u1.getId(), r2.getId());
RealmSecurityManager securityManager = (RealmSecurityManager) SecurityUtils.getSecurityManager();
UserRealm userRealm = (UserRealm) securityManager.getRealms().iterator().next();
userRealm.clearCache(subject().getPrincipals());
login(u1.getUsername(), password + "1");
subject().checkRole(r2.getRole());
}