@Path(value="permissions")
public interface IPermissionsResource
| Modifier and Type | Method and Description |
|---|---|
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForCurrentUser() |
io.apiman.manager.api.beans.idm.UserPermissionsBean |
getPermissionsForUser(String userId) |
@GET
@Path(value="{userId}")
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForUser(@PathParam(value="userId")
String userId)
throws UserNotFoundException,
NotAuthorizedException
@GET
@Produces(value="application/json")
io.apiman.manager.api.beans.idm.UserPermissionsBean getPermissionsForCurrentUser()
throws UserNotFoundException
UserNotFoundExceptionCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.