[Play 2.0] Integrating Spring security with Play

931 views
Skip to first unread message

Global Values Inc

unread,
Mar 13, 2012, 3:47:36 AM3/13/12
to play-fr...@googlegroups.com
I am wondering if it is possible to integrate Play 2.0 with Spring Security? Any guidance in this regard will be appreciated. Thank you much.

-Anand

Sean B

unread,
Apr 7, 2012, 5:29:16 PM4/7/12
to play-fr...@googlegroups.com, global...@gvalues.com
+1

James Roper

unread,
Apr 8, 2012, 8:57:33 AM4/8/12
to play-fr...@googlegroups.com
In theory, this is possible.  From memory, Spring security has a nice split between spring-security-core, which has no reliance on the servlet API, and spring-security-web, which is heavily based on the servlet API.  Everything in spring-security-core would be able to be used in Play 2.0, this includes all the high level abstractions such as AuthenticationProvider, AuthenticationManager, authorization abstractions and so on.  However, everything that actually interacts with the request, including the filter chain, storing the current user in the session, remember me etc, would need to be written specifically for Play 2.0.
Reply all
Reply to author
Forward
0 new messages