@Controller public class IdentityProviderAPI extends Object
| Constructor and Description |
|---|
IdentityProviderAPI(IdpConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(User user) |
void |
removeAttribute(String name) |
void |
setAttribute(String name,
Attribute attribute) |
void |
setAuthenticationMethod(AuthenticationMethod authenticationMethod) |
@Autowired public IdentityProviderAPI(IdpConfiguration configuration)
@RequestMapping(value="/attributes/{name:.+}",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setAttribute(@PathVariable
String name,
@RequestBody
Attribute attribute)
@RequestMapping(value="/attributes/{name:.+}",
method=DELETE)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void removeAttribute(@PathVariable
String name)
@RequestMapping(value="/users",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void addUser(@RequestBody
User user)
@RequestMapping(value="/authmethod",
method=PUT)
@ResponseStatus(value=NO_CONTENT)
@ResponseBody
public void setAuthenticationMethod(@RequestBody
AuthenticationMethod authenticationMethod)
Copyright © 2009–2014 SURFnet bv, The Netherlands. All rights reserved.