@JsonIgnore
    default <T> T getValue(final Class<T> clazz) {
        val value = value();
        if (StringUtils.isNotBlank(value)) {
            return clazz.cast(value);
        }
        return null;
    }
Gets property value.

@param <T>   the type parameter
@param clazz the clazz
@return the property value
api/cas-server-core-api-services/src/main/java/org/apereo/cas/services/RegisteredServiceProperty.java