[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2008-01-24 Thread koenhandekyn
i'm using a similar approach for openId integration. the seam authenticate method looks up a status from the session that is only set by the servlet that confirms openId authentication an improvement of the seam security framework to handle single sign on like openId or others seams very

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-04 Thread wuhaixing
Brad,thanks u very much!But if does this solution can #{redirect.captureCurrentView} and #{redirect.returnToCapturedView}? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091583#4091583 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-03 Thread bsmithjj
wuhaixing wrote : Thanks,I have readed the thread. | And I also found this,http://www.ja-sig.org/wiki/display/CASC/CASLoginModule+for+JAAS+applications | Do u think this is a better way? | I'm know little about JAAS and CAS,so I cann't do the decision by myself. | Thanks for all of you!

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-03 Thread bsmithjj
Use this link http://www.ja-sig.org/wiki/display/CASC/Seam+Identity+Integration+%28Seam+1.2.1+-+2.0.0%29 instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4091037#4091037 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread wuhaixing
Yes,If I don't call the identitiy.login,the thing is ok.That's why I think identity.login reset the session. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090488#4090488 Reply to the post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread matt.drees
I don't know what to tell you. You could put a breakpoint in Identity.login() and see what's going on. I'm guessing that's not where the problem is, though, but I could be wrong. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090641#4090641 Reply to the

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread bsmithjj
I use CAS and I have this working. You may want to review this thread http://www.jboss.com/index.html?module=bbop=viewtopict=119167. I use a different approach than the CAS Filter for authentication, but the process should be the same because by the time Seam steps in to the request processing

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread bsmithjj
One other item - CAS SSO server should be deployed standalone in a separate server. Your Seam app (or any app) typically should not be presenting its own login page in a CAS SSO architecture. In other words, there shouldn't be any concept of a 'login.xhtml' in your CAS-adapted Seam

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-02 Thread matt.drees
I certainly don't know JAAS, but I don't think that will integrate nicely with Seam security. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090881#4090881 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090881

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
hi,matt.I set the edu.yale.its.tp.cas.client.filter.serviceUrl to my login page in the web.xml. And then the login.xhtml's action as identity.login in the page.xml. In the authenticator component,it seems identity.login reset the session,and I cann't get the username at all. Would you like to

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread matt.drees
It sounds like you're using an approach that should work. Why do you think identity.login is resetting the session? How are you trying to get the Cas username? And also, I'm not using the Yale client, but the Ja-sig client. The Yale one should work fine, though, for what you're doing. View

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread wuhaixing
This is what in my web.xml | filter | filter-nameCAS Filter/filter-name | filter-classedu.yale.its.tp.cas.client.filter.CASFilter/filter-class | init-param | param-nameedu.yale.its.tp.cas.client.filter.loginUrl/param-name |

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-10-01 Thread matt.drees
It looks like you've set things up the way I would. The log makes it look you're being given a new session when you return from CAS; do you have cookies enabled in your browser? Are you sure the filter is validating the ticket successfully? View the original post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-30 Thread wuhaixing
Thanks!One more question,how did you create the seam Identity after authentication? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090028#4090028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090028

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-30 Thread matt.drees
I haven an Authenticator component that looks in the session for the CAS assertion, and sets the Identity username appropriately. (It assumes that the Cas ticket validation has already happened). View the original post :

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-30 Thread wuhaixing
Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4090072#4090072 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4090072 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: How can I integrate CAS client into Seam?

2007-09-29 Thread matt.drees
I don't think there's a standard way to do it yet. I took the Jasig cas client and configured it with Seam instead of spring, and though I'm not really using it the way it was intended, it's working. It's not in a place where I could easily share what I have right now, but I hope to put