@DeleteMapping(path = "/users/{username}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Destroy all single sign-on sessions for username. " + MESSAGE_FEATURE_SUPPORTED_TICKET_REGISTRY,
        parameters = @Parameter(name = "username", required = true, in = ParameterIn.PATH, description = "The username to look up"))
    public Map<String, Object> destroySsoSessionsForUser(
        @PathVariable final String username,
        final HttpServletRequest request,
        final HttpServletResponse response) {
        return destroySsoSessions(new SsoSessionsRequest().withUsername(username), request, response);
    }
Gets sso sessions for user.

@param username the username
@param request  the request
@param response the response
@return the sso sessions for user
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/SingleSignOnSessionsEndpoint.java