DelegationRequest daReq = new DelegationRequest();
daReq.setParameters(additionalParameters);
daReq.setClient(getEnvironment().getClient());
daReq.setBaseUri(getEnvironment().getAuthorizationUri());
DelegationResponse daResp = (DelegationResponse) getEnvironment().getDelegationService().process(daReq);
mpdsResponse.setRedirect(daResp.getRedirectUri());
return mpdsResponse;
} catch (Throwable e) {
if (e instanceof RuntimeException) {
throw (RuntimeException) e;
}