protected ResponseEntity<AuthorizationResponse> buildResponse(
        final AuthorizationResponse authorizationResponse) {
        authorizationResponse.log();
        return ResponseEntity
            .status(authorizationResponse.getStatus())
            .body(authorizationResponse);
    }
Authorize response entity.

@param authorizationRequest the authorization request
@param request              the request
@return the response entity
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/heimdall/HeimdallAuthorizationController.java