Gravatar

CAS SSO

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.

--

-- 
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@...
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Kevin Jordan | 2 Oct 17:40
Favicon

Re: CAS SSO

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 <at> MediciGroup" <bran...@...>
wrote:
> 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.

--

-- 
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@...
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
(Continue reading)

ChrisAtShaw | 3 Oct 15:10
Picon
Favicon

Re: CAS SSO

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?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/5jafo-PYNmcJ.
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Gmane