@Path(value="/ssh")
@Produces(value="application/json;charset=UTF-8")
@Consumes(value="application/json;charset=UTF-8")
public interface ISSHKey
| Modifier and Type | Method and Description |
|---|---|
void |
deleteKey(java.lang.String owner) |
SSHKey |
getKey(java.lang.String owner) |
SSHKey[] |
getKeys() |
void |
saveKey(SSHKey newKey) |
@GET
@RolesAllowed(value={"VIEW_SSH","EDIT_SSH"})
SSHKey[] getKeys()
@GET
@Path(value="/{owner}")
@RolesAllowed(value={"VIEW_SSH","EDIT_SSH"})
SSHKey getKey(@PathParam(value="owner")
java.lang.String owner)
owner - the owner of the key@PUT @RolesAllowed(value="EDIT_SSH") void saveKey(SSHKey newKey)
newKey - the new key@DELETE
@Path(value="/{owner}")
@RolesAllowed(value="EDIT_SSH")
void deleteKey(@PathParam(value="owner")
java.lang.String owner)
owner - the owner of the key to deleteCopyright © 2017-2020 Cinovo AG. All Rights Reserved.