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

      • loginForm

        @POST
        @Path("/loginForm")
        @Consumes("application/x-www-form-urlencoded")
        String loginForm​(@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()