net.stepniak.api.auth.controller
Class AuthController

java.lang.Object
  extended by net.stepniak.api.controller.ApiController
      extended by net.stepniak.api.auth.controller.BaseAuthController
          extended by net.stepniak.api.auth.controller.AuthController

@Service
public class AuthController
extends BaseAuthController


Field Summary
 
Fields inherited from class net.stepniak.api.auth.controller.BaseAuthController
auth
 
Fields inherited from class net.stepniak.api.controller.ApiController
jsonMapper, request, uriInfo
 
Constructor Summary
AuthController(SessionStore sessionStore, UserStore userStore)
           
 
Method Summary
 javax.ws.rs.core.Response createByForm(String key, String email, String userName)
           
 javax.ws.rs.core.Response createByJson(org.codehaus.jettison.json.JSONObject jsonObject)
           
 javax.ws.rs.core.Response createByQueryString(String key, String email, String userName)
           
 javax.ws.rs.core.Response createExternalByForm(String type, String key, String userId, String userName, String firstName, String lastName, String locale)
           
 javax.ws.rs.core.Response createExternalByJson(String type, org.codehaus.jettison.json.JSONObject jsonObject)
           
 javax.ws.rs.core.Response createExternalByQueryString(String type, String key, String userId, String userName, String firstName, String lastName, String locale)
           
 javax.ws.rs.core.Response retrieve(String id)
           
 
Methods inherited from class net.stepniak.api.auth.controller.BaseAuthController
getAuthorizedUser, getSessionId, validateApiKey, validateSessionId
 
Methods inherited from class net.stepniak.api.controller.ApiController
fromJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthController

@Autowired
public AuthController(SessionStore sessionStore,
                                UserStore userStore)
Method Detail

createByForm

public javax.ws.rs.core.Response createByForm(String key,
                                              String email,
                                              String userName)
                                       throws AuthException
Throws:
AuthException

createByJson

public javax.ws.rs.core.Response createByJson(org.codehaus.jettison.json.JSONObject jsonObject)
                                       throws AuthException
Throws:
AuthException

createByQueryString

public javax.ws.rs.core.Response createByQueryString(String key,
                                                     String email,
                                                     String userName)
                                              throws AuthException
Throws:
AuthException

createExternalByForm

public javax.ws.rs.core.Response createExternalByForm(String type,
                                                      String key,
                                                      String userId,
                                                      String userName,
                                                      String firstName,
                                                      String lastName,
                                                      String locale)

createExternalByJson

public javax.ws.rs.core.Response createExternalByJson(String type,
                                                      org.codehaus.jettison.json.JSONObject jsonObject)

createExternalByQueryString

public javax.ws.rs.core.Response createExternalByQueryString(String type,
                                                             String key,
                                                             String userId,
                                                             String userName,
                                                             String firstName,
                                                             String lastName,
                                                             String locale)

retrieve

public javax.ws.rs.core.Response retrieve(String id)


Copyright © 2013. All Rights Reserved.