Class LoginGadgetResource

java.lang.Object
com.atlassian.jira.gadgets.system.LoginGadgetResource

@Path("/login") @Produces("application/json") public class LoginGadgetResource extends Object
REST endpoint to get properties needed for the Login form and to check if Login was successful.
Since:
v4.0
  • Constructor Details

  • Method Details

    • checkLogin

      @POST @XsrfProtectionExcluded public jakarta.ws.rs.core.Response checkLogin(@Context jakarta.servlet.http.HttpServletRequest request)
      Login should have already occurred by now due to the Seraph Login filter. We can look at the LoginResult to see how things went.
      Returns:
      200 successful response always with the LoginGadgetResource.LoginProperties sent back.