@Override
        public String toString() {
            var pattern = StringUtils.EMPTY;
            if (StringUtils.isNotBlank(namespace)) {
                pattern += namespace;
            }
            if (StringUtils.isNotBlank(prefix)) {
                pattern += ':' + prefix;
            }
            if (StringUtils.isNotBlank(id)) {
                pattern += ':' + id;
            }
            return pattern;
        }
Parse key into redis composite key.

@param key the redis key pattern
@return the redis composite key
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/ticket/registry/key/RedisKeyGenerator.java