provider.validateToken(context);
status = context.getStatus();
}
// construct and return the response.
RequestSecurityTokenResponse response = new RequestSecurityTokenResponse();
if (request.getContext() != null)
response.setContext(request.getContext());
response.setTokenType(request.getTokenType());
response.setStatus(status);
return response;
}