@JsonIgnore
        public <T> T getPropertyValue(final RegisteredService service, final Class<T> clazz) {
            if (isAssignedTo(service)) {
                val prop = getPropertyValue(service);
                if (prop != null) {
                    return clazz.cast(prop.value());
                }
            }
            return null;
        }
Gets property value.

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