public RedisCompositeKey withPrincipal(final String account) {
        val username = account.trim().toLowerCase(Locale.ENGLISH);
        return RedisCompositeKey.forPrincipals().withQuery(username);
    }
With principal redis composite key.

@param account the account
@return the redis composite key
support/cas-server-support-gauth-redis/src/main/java/org/apereo/cas/gauth/RedisCompositeKey.java