public void setRoles(Set<String> roles) {
        this.roles = roles;
    }
Sets the roles assigned to the account.

@param roles the roles assigned to the account.
core/src/main/java/org/apache/shiro/authz/SimpleAuthorizationInfo.java