@Controller @RequestMapping(value="CONFIG") public class MailStoreConfigurationController extends BaseEmailController
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
serviceBroker| Constructor and Description |
|---|
MailStoreConfigurationController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountFormView() |
Collection<IAuthenticationService> |
getAuthServices() |
List<IAuthenticationService> |
getAvailableAuthServices() |
MailStoreConfigurationForm |
getConfigurationForm(javax.portlet.PortletRequest req) |
Collection<IEmailLinkService> |
getLinkServices() |
org.springframework.web.servlet.ModelAndView |
getParameters(javax.portlet.ResourceRequest req,
javax.portlet.ResourceResponse res,
String linkServiceKey,
String authServiceKey) |
Set<String> |
getProtocols() |
Map<String,List<ConfigurationParameter>> |
getServiceParameters(javax.portlet.PortletRequest request) |
void |
saveAccountConfiguration(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
MailStoreConfigurationForm form,
String save) |
void |
setAuthServiceRegistry(IAuthenticationServiceRegistry authServiceRegistry) |
void |
setLinkServiceRegistry(ILinkServiceRegistry linkServiceRegistry) |
getEmailAccountService, getServiceBroker@Autowired(required=true) public void setLinkServiceRegistry(ILinkServiceRegistry linkServiceRegistry)
@Autowired(required=true) public void setAuthServiceRegistry(IAuthenticationServiceRegistry authServiceRegistry)
@RequestMapping public String getAccountFormView()
@RequestMapping(params="action=updateConfiguration")
public void saveAccountConfiguration(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response,
@ModelAttribute(value="form")
MailStoreConfigurationForm form,
@RequestParam(value="save",required=false)
String save)
throws javax.portlet.PortletModeException
javax.portlet.PortletModeException@ModelAttribute(value="form") public MailStoreConfigurationForm getConfigurationForm(javax.portlet.PortletRequest req)
@ModelAttribute(value="authServices") public List<IAuthenticationService> getAvailableAuthServices()
@ModelAttribute(value="serviceParameters") public Map<String,List<ConfigurationParameter>> getServiceParameters(javax.portlet.PortletRequest request)
@ModelAttribute(value="linkServices") public Collection<IEmailLinkService> getLinkServices()
@ModelAttribute(value="authServices") public Collection<IAuthenticationService> getAuthServices()
@ResourceMapping(value="parameters")
public org.springframework.web.servlet.ModelAndView getParameters(javax.portlet.ResourceRequest req,
javax.portlet.ResourceResponse res,
@RequestParam(value="linkService")
String linkServiceKey,
@RequestParam(value="authService")
String authServiceKey)
throws IOException
IOExceptionCopyright © 2013 Jasig. All Rights Reserved.