|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nhindirect.config.ui.MainController
@Controller @RequestMapping(value="/main") public class MainController
| Nested Class Summary | |
|---|---|
static class |
MainController.CertContainer
|
| Constructor Summary | |
|---|---|
MainController()
|
|
| Method Summary | |
|---|---|
org.springframework.web.servlet.ModelAndView |
display(String requestedWith,
javax.servlet.http.HttpSession session,
org.springframework.ui.Model model)
Return the login page when requested |
static String |
getThumbPrint(X509Certificate cert)
|
String |
handleIOException(IOException ex,
javax.servlet.http.HttpServletRequest request)
Handle exceptions as gracefully as possible |
static String |
hexify(byte[] bytes)
|
org.springframework.web.servlet.ModelAndView |
newDomain(String requestedWith,
javax.servlet.http.HttpSession session,
org.springframework.ui.Model model)
Set up to display a new Domain page |
void |
refreshModelFromService(org.springframework.ui.Model model)
|
org.springframework.web.servlet.ModelAndView |
search(String requestedWith,
javax.servlet.http.HttpSession session,
SimpleForm simpleForm,
org.springframework.ui.Model model,
String actionPath)
Execute the search and return the results |
void |
setConfigSvc(org.nhindirect.config.service.ConfigurationService service)
|
void |
setConfigurationService(org.nhindirect.config.service.ConfigurationService service)
|
MainController.CertContainer |
toCertContainer(byte[] data)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MainController()
| Method Detail |
|---|
@Inject public void setConfigurationService(org.nhindirect.config.service.ConfigurationService service)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/search",
method=GET)
public org.springframework.web.servlet.ModelAndView search(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
@ModelAttribute
SimpleForm simpleForm,
org.springframework.ui.Model model,
@RequestParam(value="submitType")
String actionPath)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(method=GET)
public org.springframework.web.servlet.ModelAndView display(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
org.springframework.ui.Model model)
@PreAuthorize(value="hasRole(\'ROLE_ADMIN\')")
@RequestMapping(value="/new",
method=GET)
public org.springframework.web.servlet.ModelAndView newDomain(@RequestHeader(value="X-Requested-With",required=false)
String requestedWith,
javax.servlet.http.HttpSession session,
org.springframework.ui.Model model)
requestedWith - session - model -
public void refreshModelFromService(org.springframework.ui.Model model)
@ExceptionHandler(value=java.io.IOException.class)
public String handleIOException(IOException ex,
javax.servlet.http.HttpServletRequest request)
ex - request -
public void setConfigSvc(org.nhindirect.config.service.ConfigurationService service)
public static String getThumbPrint(X509Certificate cert)
throws NoSuchAlgorithmException,
CertificateEncodingException
NoSuchAlgorithmException
CertificateEncodingExceptionpublic static String hexify(byte[] bytes)
public MainController.CertContainer toCertContainer(byte[] data)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||