cleaned up some imports, added serverEndpointRequest class

pull/166/merge
Mike Derryberry 2012-07-25 09:31:48 -04:00 committed by Justin Richer
parent eff7a2c504
commit 7d6211afd7
3 changed files with 19 additions and 11 deletions

View File

@ -0,0 +1,19 @@
package org.mitre.openid.connect.server;
import org.mitre.jwt.signer.service.JwtSigningAndValidationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class serverEndpointRequest {
@Autowired
JwtSigningAndValidationService jwtService;
@RequestMapping("/serverEndpoint")
public void getRequest() {
}
}

View File

@ -15,10 +15,6 @@
******************************************************************************/
package org.mitre.openid.connect.web;
import java.security.PublicKey;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.mitre.jwt.signer.JwtSigner;
@ -28,10 +24,6 @@ import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
import com.google.common.collect.Maps;
@Controller
public class JsonWebKeyEndpoint {

View File

@ -16,11 +16,9 @@
package org.mitre.openid.connect.web;
import java.security.Principal;
import java.util.Set;
import org.mitre.oauth2.service.OAuth2TokenEntityService;
import org.mitre.openid.connect.exception.UnknownUserInfoSchemaException;
import org.mitre.openid.connect.model.DefaultUserInfo;
import org.mitre.openid.connect.model.UserInfo;
import org.mitre.openid.connect.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
@ -32,7 +30,6 @@ import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
/**
* OpenID Connect UserInfo endpoint, as specified in Standard sec 5 and Messages sec 2.4.