1 Reply Latest reply on Dec 4, 2002 6:53 PM by Jorge Agra

    login from a foreign ( non java ) app

    Jorge Agra Newbie

      I need to access pages inside a secure web zone from an external application. Those pages return some info ( non html ) to the app to be presented, after some processing and validation, to the user. The foreign app is not java. I'm using a CustomAuthentication mbean class that meets my needs to some point, but would like to use jaas. It should work like this :
      I perform a GET into a non secure page with user+pass as parameters. That page logs into app, creates a session, populates it with some data and returns, via http, the session id to the calling app. From now, all accesses use that session id in url to access the needed data.

      In jboss, using jaas with DatabaseServerLoginModule, when I enter the my login page with a valid user and pass, I get a failure in login. The trace mentions :
      (snip) Saw unauthenticatedIdentity=nobody

      Can anyone help me on this ? Is it possible with jaas ?