Interface AuthService

  • All Known Implementing Classes:
    RestAuthClient, RestAuthService, RestAuthSwagger

    @Consumes({"application/xml","application/json"})
    @Produces("application/json")
    public interface AuthService
    Auth Web Service definition interface for Rest Services
    Since:
    7.5
    Author:
    Alessandro Gasparini - LogicalDOC
    • Method Detail

      • loginPost

        @POST
        @Path("/login")
        @Consumes("application/x-www-form-urlencoded")
        String loginPost​(@FormParam("username")
                         String username,
                         @FormParam("password")
                         String password)
                  throws Exception
        Throws:
        Exception
      • logout

        @DELETE
        @Path("/logout")
        void logout​(@QueryParam("sid")
                    String sid)
      • getSid

        @GET
        @Path("/getSid")
        @Produces({"application/json","text/plain"})
        String getSid()