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 User
authenticate(String username, String password)
List<UserMetadata>
changelog(Date from)
void
clear()
javax.ws.rs.core.Response
create(User user)
void
delete(UUID key)
List<User>
list()
User
read(UUID key)
void
update(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()
-
-