nl.surfnet.mujina.controllers
Class IdentityProviderAPI

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

@Controller
public class IdentityProviderAPI
extends Object


Constructor Summary
IdentityProviderAPI(IdpConfiguration configuration)
           
 
Method Summary
 void addUser(User user)
           
 void removeAttribute(String name)
           
 void setAttribute(String name, Attribute attribute)
           
 void setAuthenticationMethod(AuthenticationMethod authenticationMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityProviderAPI

@Autowired
public IdentityProviderAPI(IdpConfiguration configuration)
Method Detail

setAttribute

@RequestMapping(value="/attributes/{name:.+}",
                method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setAttribute(@PathVariable
                                                                    String name,
                                                                    @RequestBody
                                                                    Attribute attribute)

removeAttribute

@RequestMapping(value="/attributes/{name:.+}",
                method=DELETE)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void removeAttribute(@PathVariable
                                                                       String name)

addUser

@RequestMapping(value="/users",
                method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void addUser(@RequestBody
                                                               User user)

setAuthenticationMethod

@RequestMapping(value="/authmethod",
                method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setAuthenticationMethod(@RequestBody
                                                                               AuthenticationMethod authenticationMethod)


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