nl.surfnet.coin.csa.api.control
Class ServiceRegistryController

java.lang.Object
  extended by nl.surfnet.coin.csa.api.control.BaseApiController
      extended by nl.surfnet.coin.csa.api.control.ServiceRegistryController

@Controller
@RequestMapping
public class ServiceRegistryController
extends BaseApiController


Constructor Summary
ServiceRegistryController()
           
 
Method Summary
 List<InstitutionIdentityProvider> getAllIdps(javax.servlet.http.HttpServletRequest request)
           
 List<InstitutionIdentityProvider> getIdps(String identityProviderId)
           
 
Methods inherited from class nl.surfnet.coin.csa.api.control.BaseApiController
getIdpEntityIdFromToken, handleGenericException, handleSecurityException, verifyScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistryController

public ServiceRegistryController()
Method Detail

getIdps

@RequestMapping(method=GET,
                value="/api/protected/identityproviders.json")
@ResponseBody
public List<InstitutionIdentityProvider> getIdps(@RequestParam(value="identityProviderId")
                                                                             String identityProviderId)
                                          throws IOException
Throws:
IOException

getAllIdps

@RequestMapping(method=GET,
                value="/api/protected/all-identityproviders.json")
@ResponseBody
public List<InstitutionIdentityProvider> getAllIdps(javax.servlet.http.HttpServletRequest request)
                                             throws IOException
Throws:
IOException


Copyright © 2013 SURFnet bv, The Netherlands. All Rights Reserved.