nl.surfnet.mujina.controllers
Class CommonAPI

java.lang.Object
  extended by nl.surfnet.mujina.controllers.CommonAPI

@Controller
public class CommonAPI
extends Object


Constructor Summary
CommonAPI(CommonConfiguration configuration)
           
 
Method Summary
 void reset()
           
 void setEntityID(EntityID entityID)
           
 void setSigningCredential(Credential credential)
           
 void setSigningNeeded(NeedsSigning needsSigning)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonAPI

@Autowired
public CommonAPI(CommonConfiguration configuration)
Method Detail

reset

@RequestMapping(value="/reset",
                method=POST)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void reset()

setEntityID

@RequestMapping(value="/entityid",
                method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setEntityID(@RequestBody
                                                                   EntityID entityID)

setSigningCredential

@RequestMapping(value="/signing-credential",
                method=POST)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setSigningCredential(@RequestBody
                                                                            Credential credential)

setSigningNeeded

@RequestMapping(value="/needs-signing",
                method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setSigningNeeded(@RequestBody
                                                                        NeedsSigning needsSigning)


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.