How to authentication API controller -


i'm wondering if there's can explain me how have construct authentication api controller.

  • i have native ios application
  • i have grails backend service

for moment i'm using fixed user credentials(for development) in ios application (i know these credentials exists). want make flexible providing login controller.

in backend, i'm using spring security basic authentication. when make connection backend, provide username , password in http header.

my real question here should provide in authentication api controller. want use controller check if user exists, , password correct.

anyone has experience this?

can't use empty authentication controller spring-security method @secured(['is_authenticated_fully'])

if i'm correct it'll send proper http status codes isn't it?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -