org.jboss.resteasy.keystone.server
Class UsersService
java.lang.Object
org.jboss.resteasy.keystone.server.UsersService
@Path(value="/users")
@RolesAllowed(value="admin")
public class UsersService
- extends Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Constructor Summary |
UsersService(org.infinispan.Cache cache)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersService
public UsersService(org.infinispan.Cache cache)
create
public String create(StoredUser user)
throws Exception
- Throws:
Exception
create
public Response create(@Context
UriInfo uriInfo,
StoredUser user)
throws Exception
- Throws:
Exception
update
@Path(value="{id}")
public void update(String id,
StoredUser user)
throws Exception
- Throws:
Exception
delete
@Path(value="{id}")
public Response delete(String id)
get
@Path(value="{id}")
public User get(String id)
getStoredUser
public StoredUser getStoredUser(String id)
Copyright © 2013. All Rights Reserved.