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

bsmithjj do-not-reply at jboss.com
Wed Oct 3 08:51:54 EDT 2007


"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!

I looked at the code at that link - on first pass, it's not clear to me how the service=SERVICE param is going to be transmitted from the HTTP request to the CASLoginModule.  Thus, I'm not sure that code is the complete solution.  The best way to determine if it's a "better way" is to decide if you like the CASFilter approach (in which you'll want to set wrapRequest to true in web.xml) or, for some reason, you prefer JAAS.  You should try both ways and see which way in practice is easiest to repeat from app to app.  In my case, the CASFilter approach is the easiest, least invasive, way to integrate with our CAS Server.

I put the solution I posted in this thread up on the JA-SIG CAS Clients wiki directly http://www.ja-sig.org/wiki/pages/viewpage.action?pageId=8094192.  Hopefully more CAS + Seam users will benefit-from / contribute-to this.

Brad Smith

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091031#4091031

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091031



More information about the jboss-user mailing list