CAS SSO

42 views
Skip to first unread message

Brandon@MediciGroup

unread,
Sep 30, 2011, 6:19:52 PM9/30/11
to Google Web Toolkit
I'm working on a proof-of-concept in an effort to persuade my shop to
move at least some of our development-efforts from other frameworks
over to GWT.

But one of the requirements is that our apps have to be able to
authenticate against our CAS-server.

I have tried mocking-up the web.xml similar to how we do it in our
other apps but I keep running into problems.

Has anyone else successfully incorporated CAS-authentication into a
GWT-app?
If so, any tips would be greatly appreciated.

Kevin Jordan

unread,
Oct 2, 2011, 11:40:12 AM10/2/11
to Google Web Toolkit
Yes, I've worked CAS authentication into my GWT app. Mine ends up
using Spring Security with its CAS modules, but it should work under
the JA-SIG client too (which eventually even Spring Security ends up
using I believe). What sorts of problems are you having? Except for
what you code your client-side in, and some specialized server
components (RPC or RequestFactory, which just use a regular servlet
for the initial communication), there shouldn't be any difference
really for setting this up versus any other Java webapp.

On Sep 30, 5:19 pm, "Brandon@MediciGroup" <bran...@thegreshams.net>
wrote:

ChrisAtShaw

unread,
Oct 3, 2011, 9:10:20 AM10/3/11
to google-we...@googlegroups.com
We have apps using CAS SSO, and do not use Spring at all, but instead Guice. 

Here is all that is in our web.xml

    <!-- Guice servlet setup -->
    <filter>
        <filter-name>guiceFilter</filter-name>
        <filter-class>com.google.inject.servlet.GuiceFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>guiceFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

    <listener>
        <listener-class>com.mycopmany.ApplicationInitContextListener</listener-class>
    </listener>


Guice plugs the app into CAS programmatically.


Can you elaborate on the issues you are experiencing?
Reply all
Reply to author
Forward
0 new messages