@Path(value="permissions")
public interface IPermissionsResource
| Modifier and Type | Method and Description |
|---|---|
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForCurrentUser()
This endpoint returns all of the permissions assigned to the currently
authenticated user.
|
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForUser(String userId)
This endpoint returns all of the permissions assigned to a specific user.
|
@GET
@Path(value="{userId}")
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForUser(@PathParam(value="userId")
String userId)
throws UserNotFoundException,
NotAuthorizedException
userId - The user's ID.UserNotFoundException - when a request is sent for a user who does not existNotAuthorizedException - when the user is not authorized to perform this action@GET
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForCurrentUser()
throws UserNotFoundException
UserNotFoundException - when a request is sent for a user who does not existCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.