@Controller public class CommonAPI extends Object
| Constructor and Description |
|---|
CommonAPI(CommonConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
reset() |
void |
setEntityID(EntityID entityID) |
void |
setSigningCredential(Credential credential) |
void |
setSigningNeeded(NeedsSigning needsSigning) |
@Autowired public CommonAPI(CommonConfiguration configuration)
@RequestMapping(value="/reset",
method=POST)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void reset()
@RequestMapping(value="/entityid",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setEntityID(@RequestBody
EntityID entityID)
@RequestMapping(value="/signing-credential",
method=POST)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setSigningCredential(@RequestBody
Credential credential)
@RequestMapping(value="/needs-signing",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setSigningNeeded(@RequestBody
NeedsSigning needsSigning)
Copyright © 2009–2014 SURFnet bv, The Netherlands. All rights reserved.