SpController extends SharedController { @PutMapping(value = {"/ssoServiceURL"}) public void setSsoServiceURL(@RequestBody String ssoServiceURL) { LOG.info("Request to set ssoServiceURL to {}", ssoServiceURL); configuration().setIdpSSOServiceURL(ssoServiceURL); } @Autowired  SpController(final SpConfiguration configuration); @PutMapping(value = {"/ssoServiceURL"}) void setSsoServiceURL(@RequestBody String ssoServiceURL); @PutMapping("/protocolBinding") void setProtocolBinding(@RequestBody String protocolBinding); @PutMapping("/assertionConsumerServiceURL") void setAssertionConsumerServiceURL(@RequestBody String assertionConsumerServiceURL);  }
@Test public void setSsoServiceURL() throws Exception { String acs = "https: api(acs, "/api/ssoServiceURL"); assertEquals(acs, spConfiguration.getIdpSSOServiceURL()); }