@Path(value="permissions") public class PermissionResource extends RestResource
API_KEY_CLIENT_ID, API_KEY_TOKEN, API_KEY_USER, apiClientId, apiToken, apiUser, AUTHENTICATION_PARAM_NAME, hmacHeader, querySessionId, REMOTE_USER_ID, REMOTE_USER_TOKEN, remoteUserId, remoteUserToken, request, sessionId, WOR_PARTNER_TOKEN, worPartnerToken
Constructor and Description |
---|
PermissionResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
addRemoteAccess(RemoteAccessPermission accessPermission)
Add a remote access from a partner in the web of registries
|
addHeaders, getThisServer, getUserId, getUserId, getWebPartner, log, requireUserId, requireUserIdOrWebPartner, requireWebPartner, respond, respond, respond, respond
@POST @Path(value="/remote") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response addRemoteAccess(RemoteAccessPermission accessPermission)
Copyright © 2017. All rights reserved.