@Override
    public T createService(final String id, final HttpServletRequest request) {
        val service = createService(id);
        return (T) populateAttributes(service, request);
    }
Cleanup the url. Removes jsession ids and query strings.

@param url the url
@return sanitized url.
core/cas-server-core-services-authentication/src/main/java/org/apereo/cas/authentication/principal/AbstractServiceFactory.java