nl.surfnet.coin.selfservice.control.idpadmin
Class SpDetailController

java.lang.Object
  extended by nl.surfnet.coin.selfservice.control.BaseController
      extended by nl.surfnet.coin.selfservice.control.idpadmin.SpDetailController

@Controller
@RequestMapping(value="/idpadmin/sp")
@SessionAttributes(value={"linkrequest","unlinkrequest"})
public class SpDetailController
extends BaseController

Controller for SP detail pages


Nested Class Summary
 
Nested classes/interfaces inherited from class nl.surfnet.coin.selfservice.control.BaseController
BaseController.MenuType
 
Field Summary
 
Fields inherited from class nl.surfnet.coin.selfservice.control.BaseController
localeResolver
 
Constructor Summary
SpDetailController()
           
 
Method Summary
 Map<String,PersonAttributeLabel> getPersonAttributeLabels()
           
 org.springframework.web.servlet.ModelAndView spDetail(String spEntityId, IdentityProvider selectedidp)
          Controller for detail page.
 org.springframework.web.servlet.ModelAndView spQuestion(String spEntityId, IdentityProvider selectedidp)
          Controller for question form page.
 org.springframework.web.servlet.ModelAndView spQuestionSubmit(String spEntityId, IdentityProvider selectedidp, Question question, org.springframework.validation.BindingResult result)
           
 
Methods inherited from class nl.surfnet.coin.selfservice.control.BaseController
buildMenu, getCurrentRole, getLocale, getMyInstitutionIdps, getRequestedIdp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpDetailController

public SpDetailController()
Method Detail

getPersonAttributeLabels

@ModelAttribute(value="personAttributeLabels")
public Map<String,PersonAttributeLabel> getPersonAttributeLabels()

spDetail

@RequestMapping(value="/detail.shtml")
public org.springframework.web.servlet.ModelAndView spDetail(@RequestParam
                                                                            String spEntityId,
                                                                            @ModelAttribute(value="selectedidp")
                                                                            IdentityProvider selectedidp)
Controller for detail page.

Parameters:
spEntityId - the entity id
Returns:
ModelAndView

spQuestion

@RequestMapping(value="/question.shtml",
                method=GET)
public org.springframework.web.servlet.ModelAndView spQuestion(@RequestParam
                                                                              String spEntityId,
                                                                              @ModelAttribute(value="selectedidp")
                                                                              IdentityProvider selectedidp)
Controller for question form page.

Parameters:
spEntityId - the entity id
Returns:
ModelAndView

spQuestionSubmit

@RequestMapping(value="/question.shtml",
                method=POST)
public org.springframework.web.servlet.ModelAndView spQuestionSubmit(@RequestParam
                                                                                    String spEntityId,
                                                                                    @ModelAttribute(value="selectedidp")
                                                                                    IdentityProvider selectedidp,
                                                                                    @ModelAttribute(value="question")
                                                                                    Question question,
                                                                                    org.springframework.validation.BindingResult result)


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