Class LoginGadgetResource
java.lang.Object
com.atlassian.jira.gadgets.system.LoginGadgetResource
REST endpoint to get properties needed for the Login form and to check if Login was successful.
- Since:
- v4.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionLoginGadgetResource(JiraAuthenticationContext authenticationContext, LoginService loginService) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsecheckLogin(jakarta.servlet.http.HttpServletRequest request) Login should have already occurred by now due to the Seraph Login filter.
-
Constructor Details
-
LoginGadgetResource
@Inject public LoginGadgetResource(JiraAuthenticationContext authenticationContext, LoginService loginService)
-
-
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 theLoginResultto see how things went.- Returns:
- 200 successful response always with the
LoginGadgetResource.LoginPropertiessent back.
-