Class UserService
- java.lang.Object
-
- org.apache.syncope.fit.buildtools.cxf.UserService
-
@Path("users") public class UserService extends Object
-
-
Constructor Summary
Constructors Constructor Description UserService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Userauthenticate(String username, String password)List<UserMetadata>changelog(Date from)voidclear()javax.ws.rs.core.Responsecreate(User user)voiddelete(UUID key)List<User>list()Userread(UUID key)voidupdate(UUID key, User updatedUser)
-
-
-
Method Detail
-
changelog
@GET @Path("changelog") @Produces("application/json") public List<UserMetadata> changelog(@QueryParam("from") Date from)
-
read
@GET @Path("{key}") @Produces("application/json") public User read(@PathParam("key") UUID key)
-
create
@POST @Consumes("application/json") public javax.ws.rs.core.Response create(User user)
-
update
@PUT @Path("{key}") @Consumes("application/json") public void update(@PathParam("key") UUID key, User updatedUser)
-
delete
@DELETE @Path("{key}") public void delete(@PathParam("key") UUID key)
-
authenticate
@POST @Path("authenticate") @Produces("application/json") public User authenticate(@QueryParam("username") String username, @QueryParam("password") String password)
-
clear
@POST @Path("clear") public void clear()
-
-