Results 1 to 2 of 2

Thread: 'secured' spring-flex testdrive as AIR application

  1. #1
    Join Date
    May 2006
    Location
    Germany
    Posts
    33

    Default 'secured' spring-flex testdrive as AIR application

    Hi Spring-flex users !

    I just created an AIR application from the code contained in the 'secured' example in the testdrive project.
    Can anyone tell me what the 'securityhelper" is required for ?

    private function applicationCompleteHandler():void
    {
    securityHelper.getAuthentication();
    }

    My problem is, that the securityHelper itself is a secured resource on the server side and in case of the first access to the remote object, the AIR runtime asks for a username and password. This is different to the the example run in the context of a web application, where the user is already authenticated when accessing the demo.

    Can anyone give me an example how to access a secured remote object from within an AIR application ?

    Regards,
    Dirk

  2. #2
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    All that is doing is making a remote call to the server to check if there is an existing authentication (for example, in the case of using the HTML login form). I would think you wouldn't need that at all in an AIR version.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •