com.atlassian.jira.gadgets.system
Class LoginGadgetResource

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

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

Nested Class Summary
static class LoginGadgetResource.LoginProperties
           
 
Constructor Summary
LoginGadgetResource(JiraAuthenticationContext authenticationContext, LoginService loginService)
           
 
Method Summary
 javax.ws.rs.core.Response checkLogin(javax.servlet.http.HttpServletRequest request)
          Login should have already occurred by now due to the Seraph Login filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginGadgetResource

public LoginGadgetResource(JiraAuthenticationContext authenticationContext,
                           LoginService loginService)
Method Detail

checkLogin

public javax.ws.rs.core.Response checkLogin(@Context
                                            javax.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.


Copyright © 2002-2014 Atlassian. All Rights Reserved.