You can also use the HTTPService and integrate with JAAS pretty easily. We do this in the Meldware Flex based email client. Here are a few code snippets:
>From Services.mxml: <mx:HTTPService id="loginService" url="j_security_check" showBusyCursor="true" useProxy="false"/> >From LoginDelegate.as: public function login(user:UserVO):void { var params:Object = new Object(); params.j_username = user.username; params.j_password = user.password; var call:AsyncToken = service.send(params); call.addResponder(responder); } Hope that helps. -James On Fri, 2007-05-11 at 04:41 -0700, Jon Bradley wrote: > On the same line of thought, since HTTPRequest seems to be one of the > answers to my problem, has anyone tried to perform user > authentication through that? > > The system we're developing uses servlets for all communication - but > it creates these dynamically as we define pages that contain > 'portals' (every page is a dynamically created JSP page basically) in > the backend system. > > Am I correct to assume that if I can do a form post in an XHTML page, > I can convert that post to the HTTPRequest in Flex? > > thanks all! > > jon > > > > >