public <T> T resolve(final String value, final Class<T> clazz) {
        if (StringUtils.isNotBlank(value)) {
            LOGGER.trace("Parsing expression as [{}]", value);
            val expression = EXPRESSION_PARSER.parseExpression(value, PARSER_CONTEXT);
            val result = expression.getValue(evaluationContext, clazz);
            LOGGER.trace("Parsed expression result is [{}]", result);
            return result;
        }
        return (T) value;
    }
Resolve value for a type.

@param <T>   the type parameter
@param value the value
@param clazz the clazz
@return the t
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/SpringExpressionLanguageValueResolver.java