Removing the backslash in the path.

feature/appm-store/pbac
sinthuja 7 years ago
parent 57c91bc2da
commit 1a4fa74ea8

@ -33,21 +33,21 @@ import javax.ws.rs.core.Response;
public interface AuthHandlerService { public interface AuthHandlerService {
@POST @POST
@Path("/{appName}/login/") @Path("/{appName}/login")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
Response login(@PathParam("appName") String appName, @QueryParam("userName") String userName, Response login(@PathParam("appName") String appName, @QueryParam("userName") String userName,
@QueryParam("password") String password); @QueryParam("password") String password);
@POST @POST
@Path("/refresh/") @Path("/refresh")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
Response refresh(@QueryParam("refreshToken") String refreshToken, @QueryParam("clientId") String clientId, Response refresh(@QueryParam("refreshToken") String refreshToken, @QueryParam("clientId") String clientId,
@QueryParam("clientSecret") String clientSecret); @QueryParam("clientSecret") String clientSecret);
@POST @POST
@Path("/logout/") @Path("/logout")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
Response logout(@QueryParam("token") String token, @QueryParam("clientId") String clientId, Response logout(@QueryParam("token") String token, @QueryParam("clientId") String clientId,

Loading…
Cancel
Save