Spring Security Core Basic and Form Authentication

6 views
Skip to first unread message

Jeff Scadden

unread,
Jan 26, 2011, 1:11:17 PM1/26/11
to Utah Groovy & Grails User Group
Since I want to use my controllers as my API into the application (for
HTML, XML, JSON, etc.. requests). Is there a way to configure Spring
Security to allow Basic and Form authentication. I would like it to
check for Basic first and then fall back to Form authentication.

It seemed like this is the default for acts_as_authentication, and the
device plugin for Rails.

What patterns do you follow to support an HTML client and webservice
client (XML or JSON responses).

Thanks,
- Jeff
Reply all
Reply to author
Forward
0 new messages