public UserDescriptor checkAuthentication(
AuthenticationParameters authParams) throws Exception {
HttpServletRequest request =
(HttpServletRequest)authParams.getRequest();
OpenId openId = relyingPartyManager.verifyOpenIdResponse(request);
if (openId == null) {
log.error("Couldn't verify OpenID response");
return null;
}
String username = openId.getClaimedId();
String subject = relyingPartyManager.getRequestSubject(openId);
log.info("GET VOMS Proxy for \"" + subject + "\"");
GSSCredential credential = proxyInit.getVomsProxy(subject);
User gsUser = gsUserManager.getUserByUserName(username);