@Controller
@RequestMapping(value="/sp")
@SessionAttributes(value={"linkrequest","unlinkrequest"})
public class SpDetailController
extends BaseController
| Constructor and Description |
|---|
SpDetailController() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale(javax.servlet.http.HttpServletRequest request) |
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) |
getCurrentUser, getMyInstitutionIdps, getRequestedIdp@ModelAttribute(value="locale") public Locale getLocale(javax.servlet.http.HttpServletRequest request)
@ModelAttribute(value="personAttributeLabels") public Map<String,PersonAttributeLabel> getPersonAttributeLabels()
@RequestMapping(value="/detail.shtml")
public org.springframework.web.servlet.ModelAndView spDetail(@RequestParam
String spEntityId,
@ModelAttribute(value="selectedidp")
IdentityProvider selectedidp)
spEntityId - the entity id@RequestMapping(value="/question.shtml",
method=GET)
public org.springframework.web.servlet.ModelAndView spQuestion(@RequestParam
String spEntityId,
@ModelAttribute(value="selectedidp")
IdentityProvider selectedidp)
spEntityId - the entity id@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.