if (additionalParameters.get(getEnvironment().getConstants().get(CALLBACK_URI_KEY)) == null) {
additionalParameters.put(getEnvironment().getConstants().get(CALLBACK_URI_KEY), getEnvironment().
getCallback().toString());
}
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) {